Lines Matching refs:bvec
111 iov_iter_bvec(&iter, rw, req->f.bvec, nr_segs, count); in nvmet_file_submit_bvec()
125 if (req->f.bvec != req->inline_bvec) { in nvmet_file_io_done()
127 kfree(req->f.bvec); in nvmet_file_io_done()
129 mempool_free(req->f.bvec, req->ns->bvec_pool); in nvmet_file_io_done()
159 nvmet_file_init_bvec(&req->f.bvec[bv_cnt], sg); in nvmet_file_execute_io()
160 len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
161 total_len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
247 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
250 req->f.bvec = req->inline_bvec; in nvmet_file_execute_rw()
252 if (unlikely(!req->f.bvec)) { in nvmet_file_execute_rw()
254 req->f.bvec = mempool_alloc(req->ns->bvec_pool, GFP_KERNEL); in nvmet_file_execute_rw()