Home
last modified time | relevance | path

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

123

/linux-6.6.21/io_uring/
Dkbuf.h86 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()
110 unsigned int ret = IORING_CQE_F_BUFFER | (req->buf_index << IORING_CQE_BUFFER_SHIFT); in __io_put_kbuf_list()
114 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()
119 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
During_cmd.c101 req->buf_index = READ_ONCE(sqe->buf_index); in io_uring_cmd_prep()
102 if (unlikely(req->buf_index >= ctx->nr_user_bufs)) in io_uring_cmd_prep()
104 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()
57 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in)) in io_fsync_prep()
89 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->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()
81 if (sqe->buf_index || sqe->addr || sqe->splice_fd_in) in io_fadvise_prep()
Depoll.c28 if (sqe->buf_index || sqe->splice_fd_in) in io_epoll_ctl_prep()
Dopenclose.c51 if (unlikely(sqe->buf_index)) in __io_openat_prep()
206 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()
Dkbuf.c97 req->buf_index = buf->bgid; in io_kbuf_recycle_legacy()
148 req->buf_index = kbuf->bid; in io_provided_buffer_select()
179 req->buf_index = buf->bid; in io_ring_buffer_select()
207 bl = io_buffer_get_list(ctx, req->buf_index); in io_buffer_select()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/fs/orangefs/
Dupcall.h18 __s32 buf_index; member
73 __s32 buf_index; member
81 __s32 buf_index; member
/linux-6.6.21/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.6.21/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 …]
Dfimc-lite.h174 unsigned short buf_index; member
/linux-6.6.21/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.6.21/drivers/i2c/busses/
Di2c-aspeed.c156 size_t buf_index; member
380 bus->buf_index = 0; in aspeed_i2c_do_start()
531 if (bus->buf_index < msg->len) { in aspeed_i2c_master_irq()
533 writel(msg->buf[bus->buf_index++], in aspeed_i2c_master_irq()
554 msg->buf[bus->buf_index++] = recv_byte; in aspeed_i2c_master_irq()
567 if (bus->buf_index < msg->len) { in aspeed_i2c_master_irq()
570 if (bus->buf_index + 1 == msg->len) in aspeed_i2c_master_irq()
/linux-6.6.21/include/trace/events/
Dio_uring.h513 __field( u16, buf_index )
534 __entry->buf_index = sqe->buf_index;
555 __entry->buf_index, __entry->personality, __entry->file_index,
/linux-6.6.21/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.6.21/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.6.21/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()
/linux-6.6.21/drivers/hwtracing/ptt/
Dhisi_ptt.h133 u32 buf_index; member

123