Lines Matching refs:nr_bvecs
104 for (i = 0; i < imu->nr_bvecs; i++) { in io_release_ubuf()
112 int nr_bvecs) in io_alloc_imu() argument
114 if (nr_bvecs <= IO_CACHED_BVECS_SEGS) in io_alloc_imu()
116 return kvmalloc_flex(struct io_mapped_ubuf, bvec, nr_bvecs); in io_alloc_imu()
121 if (imu->nr_bvecs <= IO_CACHED_BVECS_SEGS) in io_free_imu()
637 for (j = 0; j < imu->nr_bvecs; j++) { in headpage_already_acct()
813 imu->nr_bvecs = nr_pages; in io_sqe_buffer_register()
940 unsigned int nr_bvecs = 0; in io_buffer_register_bvec() local
983 imu->bvec[nr_bvecs++] = bv; in io_buffer_register_bvec()
984 imu->nr_bvecs = nr_bvecs; in io_buffer_register_bvec()
1047 iov_iter_bvec(iter, ddir, imu->bvec, imu->nr_bvecs, count); in io_import_kbuf()
1441 for (i = 0; off < offset + iov->iov_len && i < imu->nr_bvecs; in iov_kern_bvec_size()