Home
last modified time | relevance | path

Searched refs:buf_index (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.1.9/io_uring/
Dkbuf.h74 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()
98 unsigned int ret = IORING_CQE_F_BUFFER | (req->buf_index << IORING_CQE_BUFFER_SHIFT); in __io_put_kbuf_list()
102 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()
107 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
During_cmd.c92 req->buf_index = READ_ONCE(sqe->buf_index); in io_uring_cmd_prep()
93 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_uring_cmd_prep()
95 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs); in io_uring_cmd_prep()
Dsync.c29 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in)) in io_sfr_prep()
56 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in)) in io_fsync_prep()
88 if (sqe->buf_index || sqe->rw_flags || sqe->splice_fd_in) in io_fallocate_prep()
Dfs.c55 if (sqe->buf_index || sqe->splice_fd_in) in io_renameat_prep()
109 if (sqe->off || sqe->len || sqe->buf_index || sqe->splice_fd_in) in io_unlinkat_prep()
159 if (sqe->off || sqe->rw_flags || sqe->buf_index || sqe->splice_fd_in) in io_mkdirat_prep()
203 if (sqe->len || sqe->rw_flags || sqe->buf_index || sqe->splice_fd_in) in io_symlinkat_prep()
246 if (sqe->rw_flags || sqe->buf_index || sqe->splice_fd_in) in io_linkat_prep()
Dadvise.c36 if (sqe->buf_index || sqe->off || sqe->splice_fd_in) in io_madvise_prep()
69 if (sqe->buf_index || sqe->addr || sqe->splice_fd_in) in io_fadvise_prep()
Dkbuf.c71 req->buf_index = buf->bgid; in io_kbuf_recycle_legacy()
122 req->buf_index = kbuf->bid; in io_provided_buffer_select()
152 req->buf_index = buf->bid; in io_ring_buffer_select()
180 bl = io_buffer_get_list(ctx, req->buf_index); in io_buffer_select()
Depoll.c32 if (sqe->buf_index || sqe->splice_fd_in) in io_epoll_ctl_prep()
Dopenclose.c40 if (unlikely(sqe->buf_index)) in __io_openat_prep()
199 if (sqe->off || sqe->addr || sqe->len || sqe->rw_flags || sqe->buf_index) in io_close_prep()
Dstatx.c28 if (sqe->buf_index || sqe->splice_fd_in) in io_statx_prep()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c37 u8 buf_index = 0; in _rtl8723e_fill_h2c_command() local
147 cmdbuffer + buf_index, 1); in _rtl8723e_fill_h2c_command()
157 cmdbuffer + buf_index, 2); in _rtl8723e_fill_h2c_command()
167 cmdbuffer + buf_index, 3); in _rtl8723e_fill_h2c_command()
177 cmdbuffer + buf_index, 2); in _rtl8723e_fill_h2c_command()
179 cmdbuffer + buf_index + 2, 2); in _rtl8723e_fill_h2c_command()
194 cmdbuffer + buf_index, 2); in _rtl8723e_fill_h2c_command()
196 cmdbuffer + buf_index + 2, 3); in _rtl8723e_fill_h2c_command()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c279 u8 buf_index = 0; in _rtl92d_fill_h2c_command() local
383 memcpy(boxcontent + 1, cmdbuffer + buf_index, 1); in _rtl92d_fill_h2c_command()
390 memcpy(boxcontent + 1, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
397 memcpy(boxcontent + 1, cmdbuffer + buf_index, 3); in _rtl92d_fill_h2c_command()
404 memcpy(boxextcontent, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
405 memcpy(boxcontent + 1, cmdbuffer + buf_index + 2, 2); in _rtl92d_fill_h2c_command()
415 memcpy(boxextcontent, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
416 memcpy(boxcontent + 1, cmdbuffer + buf_index + 2, 3); in _rtl92d_fill_h2c_command()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_mr.c216 int buf_index; in lookup_iova() local
226 buf_index = 0; in lookup_iova()
228 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
232 buf_index++; in lookup_iova()
234 if (buf_index == RXE_BUF_PER_MAP) { in lookup_iova()
236 buf_index = 0; in lookup_iova()
238 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
242 *n_out = buf_index; in lookup_iova()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c192 u8 buf_index = 0; in _rtl92c_fill_h2c_command() local
299 cmdbuffer + buf_index, 1); in _rtl92c_fill_h2c_command()
309 cmdbuffer + buf_index, 2); in _rtl92c_fill_h2c_command()
319 cmdbuffer + buf_index, 3); in _rtl92c_fill_h2c_command()
329 cmdbuffer + buf_index, 2); in _rtl92c_fill_h2c_command()
331 cmdbuffer + buf_index + 2, 2); in _rtl92c_fill_h2c_command()
346 cmdbuffer + buf_index, 2); in _rtl92c_fill_h2c_command()
348 cmdbuffer + buf_index + 2, 3); in _rtl92c_fill_h2c_command()
/linux-6.1.9/fs/orangefs/
Dupcall.h18 __s32 buf_index; member
73 __s32 buf_index; member
81 __s32 buf_index; member
/linux-6.1.9/drivers/scsi/fnic/
Dvnic_rq.c48 rq->buf_index = 0; in vnic_rq_alloc_bufs()
122 rq->buf_index = 0; in vnic_rq_init()
178 rq->buf_index = 0; in vnic_rq_clean()
Dvnic_rq.h89 unsigned int buf_index; member
117 return rq->buf_index++; in vnic_rq_next_buf_index()
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-isp-video.c207 int buf_index = ivb->index * num_planes + i; in isp_video_capture_buffer_queue() local
210 is->is_p_region->shared[32 + buf_index] = in isp_video_capture_buffer_queue()
215 buf_index, ivb->index, i, vb->index, in isp_video_capture_buffer_queue()
238 int buf_index; in fimc_isp_video_irq_handler() local
244 buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count; in fimc_isp_video_irq_handler()
245 vbuf = &video->buffers[buf_index]->vb; in fimc_isp_video_irq_handler()
250 video->buf_mask &= ~BIT(buf_index); in fimc_isp_video_irq_handler()
Dfimc-capture.c116 cap->buf_index = 0; in fimc_capture_state_cleanup()
204 fimc_hw_set_output_addr(fimc, &v_buf->addr, cap->buf_index); in fimc_capture_irq_handler()
205 v_buf->index = cap->buf_index; in fimc_capture_irq_handler()
213 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
214 cap->buf_index = 0; in fimc_capture_irq_handler()
240 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
241 cap->buf_index = 0; in fimc_capture_irq_handler()
324 vid_cap->buf_index = 0; in fimc_capture_resume()
420 vid_cap->buf_index; in buffer_queue()
423 buf->index = vid_cap->buf_index; in buffer_queue()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c35 u8 buf_index = 0; in _rtl8723be_fill_h2c_command() local
146 p_cmdbuffer + buf_index, cmd_len); in _rtl8723be_fill_h2c_command()
159 p_cmdbuffer + buf_index+3, cmd_len-3); in _rtl8723be_fill_h2c_command()
161 p_cmdbuffer + buf_index, 3); in _rtl8723be_fill_h2c_command()
/linux-6.1.9/drivers/i2c/busses/
Di2c-aspeed.c156 size_t buf_index; member
364 bus->buf_index = 0; in aspeed_i2c_do_start()
515 if (bus->buf_index < msg->len) { in aspeed_i2c_master_irq()
517 writel(msg->buf[bus->buf_index++], in aspeed_i2c_master_irq()
538 msg->buf[bus->buf_index++] = recv_byte; in aspeed_i2c_master_irq()
551 if (bus->buf_index < msg->len) { in aspeed_i2c_master_irq()
554 if (bus->buf_index + 1 == msg->len) in aspeed_i2c_master_irq()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c175 u8 buf_index = 0; in _rtl88e_fill_h2c_command() local
284 cmd_b + buf_index, cmd_len); in _rtl88e_fill_h2c_command()
297 cmd_b + buf_index+3, cmd_len-3); in _rtl88e_fill_h2c_command()
299 cmd_b + buf_index, 3); in _rtl88e_fill_h2c_command()
/linux-6.1.9/include/trace/events/
Dio_uring.h516 __field( u16, buf_index )
537 __entry->buf_index = sqe->buf_index;
558 __entry->buf_index, __entry->personality, __entry->file_index,
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c173 u8 buf_index = 0; in _rtl92ee_fill_h2c_command() local
304 cmdbuffer + buf_index, cmd_len); in _rtl92ee_fill_h2c_command()
317 cmdbuffer + buf_index+3, cmd_len-3); in _rtl92ee_fill_h2c_command()
319 cmdbuffer + buf_index, 3); in _rtl92ee_fill_h2c_command()
/linux-6.1.9/drivers/hwtracing/ptt/
Dhisi_ptt.h124 u32 buf_index; member
/linux-6.1.9/drivers/media/pci/pt1/
Dpt1.c81 int buf_index; member
461 pt1->table_index, pt1->buf_index); in pt1_filter()
508 page = pt1->tables[pt1->table_index].bufs[pt1->buf_index].page; in pt1_thread()
520 if (++pt1->buf_index >= PT1_NR_BUFS) { in pt1_thread()
522 pt1->buf_index = 0; in pt1_thread()
1292 pt1->buf_index = 0; in pt1_resume()

123