Searched refs:buf_entries (Results 1 – 2 of 2) sorted by relevance
25 int buf_entries; member96 dtlr->buf_end = dtl->buf + dtl->buf_entries; in dtl_start()210 dtl->buf_entries = n_entries; in dtl_enable()233 dtl->buf_entries = 0; in dtl_disable()283 if (last_idx + dtl->buf_entries <= cur_idx) in dtl_file_read()284 last_idx = cur_idx - dtl->buf_entries + 1; in dtl_file_read()297 i = last_idx % dtl->buf_entries; in dtl_file_read()300 if (i + n_req > dtl->buf_entries) { in dtl_file_read()301 read_size = dtl->buf_entries - i; in dtl_file_read()
950 struct mpi3mr_buf_entry *buf_entries = NULL; in mpi3mr_bsg_process_mpt_cmds() local1007 buf_entries = karg->buf_entry_list.buf_entry; in mpi3mr_bsg_process_mpt_cmds()1012 for (count = 0; count < bufcnt; count++, buf_entries++, drv_buf_iter++) { in mpi3mr_bsg_process_mpt_cmds()1027 switch (buf_entries->buf_type) { in mpi3mr_bsg_process_mpt_cmds()1030 sgl_dout_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()1038 sgl_din_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()1046 sgl_din_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()1055 sgl_dout_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()1064 sgl_din_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()1070 sgl_din_iter += buf_entries->buf_len; in mpi3mr_bsg_process_mpt_cmds()[all …]