Home
last modified time | relevance | path

Searched refs:nr_iovs (Results 1 – 5 of 5) sorted by relevance

/linux/io_uring/
H A Drsrc.c1324 struct iovec *iovec, unsigned nr_iovs, in io_vec_fill_bvec() argument
1334 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_vec_fill_bvec()
1376 static int io_estimate_bvec_size(struct iovec *iov, unsigned nr_iovs, in io_estimate_bvec_size() argument
1383 for (i = 0; i < nr_iovs; i++) { in io_estimate_bvec_size()
1393 struct iovec *iovec, unsigned nr_iovs, in io_vec_fill_kern_bvec() argument
1402 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_vec_fill_kern_bvec()
1442 static int io_kern_bvec_size(struct iovec *iov, unsigned nr_iovs, in io_kern_bvec_size() argument
1451 for (i = 0; i < nr_iovs; i++) { in io_kern_bvec_size()
1469 unsigned nr_iovs, unsigned issue_flags) in io_import_reg_vec() argument
1484 iovec_off = vec->nr - nr_iovs; in io_import_reg_vec()
[all …]
H A Dkbuf.c240 int nr_iovs = arg->nr_iovs; in io_ring_buffers_peek() local
267 if (arg->mode & KBUF_MODE_EXPAND && nr_avail > nr_iovs && arg->max_len) { in io_ring_buffers_peek()
274 nr_iovs = nr_avail; in io_ring_buffers_peek()
275 } else if (nr_avail < nr_iovs) { in io_ring_buffers_peek()
276 nr_iovs = nr_avail; in io_ring_buffers_peek()
308 } while (--nr_iovs); in io_ring_buffers_peek()
H A Dzcrx.c444 unsigned nr_iovs; in io_zcrx_create_area() local
470 nr_iovs = area->mem.size >> ifq->niov_shift; in io_zcrx_create_area()
471 area->nia.num_niovs = nr_iovs; in io_zcrx_create_area()
474 area->nia.niovs = kvmalloc_objs(area->nia.niovs[0], nr_iovs, in io_zcrx_create_area()
479 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in io_zcrx_create_area()
484 area->user_refs = kvmalloc_objs(area->user_refs[0], nr_iovs, in io_zcrx_create_area()
489 for (i = 0; i < nr_iovs; i++) { in io_zcrx_create_area()
498 area->free_count = nr_iovs; in io_zcrx_create_area()
H A Drsrc.h73 unsigned nr_iovs, unsigned issue_flags);
H A Dnet.c597 .nr_iovs = 1, in io_send_select_buffer()
603 arg.nr_iovs = kmsg->vec.nr; in io_send_select_buffer()
609 arg.nr_iovs = 1; in io_send_select_buffer()
1111 .nr_iovs = 1, in io_recv_buf_select()
1117 arg.nr_iovs = kmsg->vec.nr; in io_recv_buf_select()