Searched refs:nr_bvec (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/nvme/target/ |
| H A D | io-cmd-file.c | 122 ssize_t nr_bvec = req->sg_cnt; in nvmet_file_execute_io() local 131 if (req->f.mpool_alloc && nr_bvec > NVMET_MAX_MPOOL_BVEC) in nvmet_file_execute_io() 148 WARN_ON_ONCE((nr_bvec - 1) < 0); in nvmet_file_execute_io() 151 (nr_bvec - 1 == 0 || bv_cnt == NVMET_MAX_MPOOL_BVEC)) { in nvmet_file_execute_io() 160 nr_bvec--; in nvmet_file_execute_io() 220 ssize_t nr_bvec = req->sg_cnt; in nvmet_file_execute_rw() local 225 if (!req->sg_cnt || !nr_bvec) { in nvmet_file_execute_rw() 230 if (nr_bvec > NVMET_MAX_INLINE_BIOVEC) in nvmet_file_execute_rw() 231 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
|
| /linux-6.15/fs/netfs/ |
| H A D | buffered_read.c | 411 size_t nr_bvec = flen / PAGE_SIZE + 2; in netfs_read_gaps() local 434 bvec = kmalloc_array(nr_bvec, sizeof(*bvec), GFP_KERNEL); in netfs_read_gaps() 447 rreq->direct_bv_count = nr_bvec; in netfs_read_gaps()
|
| /linux-6.15/drivers/block/ |
| H A D | loop.c | 339 int nr_bvec = 0; in lo_rw_aio() local 343 nr_bvec++; in lo_rw_aio() 347 bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in lo_rw_aio() 376 iov_iter_bvec(&iter, rw, bvec, nr_bvec, blk_rq_bytes(rq)); in lo_rw_aio()
|
| /linux-6.15/drivers/nvme/host/ |
| H A D | tcp.c | 344 int nr_bvec; in nvme_tcp_init_iter() local 349 nr_bvec = 1; in nvme_tcp_init_iter() 358 nr_bvec = 0; in nvme_tcp_init_iter() 360 nr_bvec++; in nvme_tcp_init_iter() 366 iov_iter_bvec(&req->iter, dir, vec, nr_bvec, size); in nvme_tcp_init_iter()
|