Searched refs:nr_bvec (Results 1 – 1 of 1) sorted by relevance
135 ssize_t nr_bvec = DIV_ROUND_UP(req->data_len, PAGE_SIZE); in nvmet_file_execute_rw() local143 if (!req->sg_cnt || !nr_bvec) { in nvmet_file_execute_rw()154 if (nr_bvec > NVMET_MAX_INLINE_BIOVEC) in nvmet_file_execute_rw()155 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()165 if (nr_bvec > NVMET_MAX_MPOOL_BVEC) in nvmet_file_execute_rw()176 WARN_ON_ONCE((nr_bvec - 1) < 0); in nvmet_file_execute_rw()179 (nr_bvec - 1 == 0 || bv_cnt == NVMET_MAX_MPOOL_BVEC)) { in nvmet_file_execute_rw()187 nr_bvec--; in nvmet_file_execute_rw()