Searched refs:nr_iovs (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/io_uring/ |
| H A D | rsrc.c | 1322 struct iovec *iovec, unsigned nr_iovs, in io_vec_fill_bvec() argument 1333 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_vec_fill_bvec() 1377 for (i = 0; i < nr_iovs; i++) in io_estimate_bvec_size() 1384 struct iovec *iovec, unsigned nr_iovs, in io_vec_fill_kern_bvec() argument 1393 for (iov_idx = 0; iov_idx < nr_iovs; iov_idx++) { in io_vec_fill_kern_bvec() 1442 for (i = 0; i < nr_iovs; i++) { in io_kern_bvec_size() 1460 unsigned nr_iovs, unsigned issue_flags) in io_import_reg_vec() argument 1475 iovec_off = vec->nr - nr_iovs; in io_import_reg_vec() 1484 nr_segs = io_estimate_bvec_size(iov, nr_iovs, imu); in io_import_reg_vec() 1492 nr_segs += nr_iovs; in io_import_reg_vec() [all …]
|
| H A D | zcrx.c | 207 int i, ret, nr_pages, nr_iovs; in io_zcrx_create_area() local 235 area->nr_folios = nr_iovs = nr_pages; in io_zcrx_create_area() 236 area->nia.num_niovs = nr_iovs; in io_zcrx_create_area() 238 area->nia.niovs = kvmalloc_array(nr_iovs, sizeof(area->nia.niovs[0]), in io_zcrx_create_area() 243 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in io_zcrx_create_area() 248 for (i = 0; i < nr_iovs; i++) in io_zcrx_create_area() 251 area->user_refs = kvmalloc_array(nr_iovs, sizeof(area->user_refs[0]), in io_zcrx_create_area() 256 for (i = 0; i < nr_iovs; i++) { in io_zcrx_create_area() 264 area->free_count = nr_iovs; in io_zcrx_create_area()
|
| H A D | kbuf.c | 223 int nr_iovs = arg->nr_iovs; in io_ring_buffers_peek() local 250 if (arg->mode & KBUF_MODE_EXPAND && nr_avail > nr_iovs && arg->max_len) { in io_ring_buffers_peek() 257 nr_iovs = nr_avail; in io_ring_buffers_peek() 258 } else if (nr_avail < nr_iovs) { in io_ring_buffers_peek() 259 nr_iovs = nr_avail; in io_ring_buffers_peek() 287 } while (--nr_iovs); in io_ring_buffers_peek()
|
| H A D | kbuf.h | 56 unsigned short nr_iovs; member
|
| H A D | rsrc.h | 68 unsigned nr_iovs, unsigned issue_flags);
|
| H A D | net.c | 573 .nr_iovs = 1, in io_send_select_buffer() 577 arg.nr_iovs = kmsg->vec.nr; in io_send_select_buffer() 583 arg.nr_iovs = 1; in io_send_select_buffer() 1070 .nr_iovs = 1, in io_recv_buf_select() 1075 arg.nr_iovs = kmsg->vec.nr; in io_recv_buf_select()
|