Home
last modified time | relevance | path

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

/linux/io_uring/
H A Drsrc.c1477 struct iovec *iovec, unsigned nr_iovs, in io_import_reg_vec() argument
1487 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_import_reg_vec()
1529 static int io_estimate_bvec_size(struct iovec *iov, unsigned nr_iovs, in io_import_reg_vec()
1536 for (i = 0; i < nr_iovs; i++) { in io_import_reg_vec()
1546 struct iovec *iovec, unsigned nr_iovs, in io_prep_reg_iovec()
1555 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_prep_reg_iovec()
1595 static int io_kern_bvec_size(struct iovec *iov, unsigned nr_iovs,
1604 for (i = 0; i < nr_iovs; i++) {
1622 unsigned nr_iovs, unsigned issue_flags)
1637 iovec_off = vec->nr - nr_iovs;
1332 io_vec_fill_bvec(int ddir,struct iov_iter * iter,struct io_mapped_ubuf * imu,struct iovec * iovec,unsigned nr_iovs,struct iou_vec * vec) io_vec_fill_bvec() argument
1384 io_estimate_bvec_size(struct iovec * iov,unsigned nr_iovs,struct io_mapped_ubuf * imu) io_estimate_bvec_size() argument
1401 io_vec_fill_kern_bvec(int ddir,struct iov_iter * iter,struct io_mapped_ubuf * imu,struct iovec * iovec,unsigned nr_iovs,struct iou_vec * vec) io_vec_fill_kern_bvec() argument
1450 io_kern_bvec_size(struct iovec * iov,unsigned nr_iovs,struct io_mapped_ubuf * imu,unsigned * nr_segs) io_kern_bvec_size() argument
[all...]
H A Dkbuf.c259 int nr_iovs = arg->nr_iovs; in io_ring_buffers_peek()
286 if (arg->mode & KBUF_MODE_EXPAND && nr_avail > nr_iovs && arg->max_len) { in io_ring_buffers_peek()
293 nr_iovs = nr_avail; in io_ring_buffers_peek()
294 } else if (nr_avail < nr_iovs) { in io_ring_buffers_peek()
295 nr_iovs = nr_avail; in io_ring_buffers_peek()
331 } while (--nr_iovs); in io_buffers_select()
254 int nr_iovs = arg->nr_iovs; io_ring_buffers_peek() local
H A Dzcrx.c456 unsigned nr_iovs; in io_zcrx_create_area()
486 nr_iovs = area->mem.size >> ifq->niov_shift; in io_zcrx_create_area()
487 area->nia.num_niovs = nr_iovs; in io_zcrx_create_area()
490 area->nia.niovs = kvmalloc_objs(area->nia.niovs[0], nr_iovs, in io_zcrx_create_area()
495 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in io_zcrx_create_area()
500 area->user_refs = kvmalloc_objs(area->user_refs[0], nr_iovs, in io_zcrx_create_area()
505 for (i = 0; i < nr_iovs; i++) { in io_zcrx_create_area()
519 area->free_count = nr_iovs; in io_zcrx_create_area()
446 unsigned nr_iovs; io_zcrx_create_area() local
H A Dkbuf.h64 unsigned short nr_iovs; member
H A Drsrc.h72 unsigned nr_iovs, unsigned issue_flags);
H A Dnet.c615 .nr_iovs = 1, in io_send_select_buffer()
621 arg.nr_iovs = kmsg->vec.nr; in io_send_select_buffer()
627 arg.nr_iovs = 1; in io_send_select_buffer()
1152 .nr_iovs = 1, in io_recv_buf_select()
1158 arg.nr_iovs = kmsg->vec.nr; in io_recv_buf_select()