Home
last modified time | relevance | path

Searched refs:bv_cnt (Results 1 – 1 of 1) sorted by relevance

/drivers/nvme/target/
Dio-cmd-file.c149 unsigned long bv_cnt = 0; in nvmet_file_execute_io() local
168 nvmet_file_init_bvec(&req->f.bvec[bv_cnt], sg); in nvmet_file_execute_io()
169 len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
170 total_len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
171 bv_cnt++; in nvmet_file_execute_io()
176 (nr_bvec - 1 == 0 || bv_cnt == NVMET_MAX_MPOOL_BVEC)) { in nvmet_file_execute_io()
177 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, len, 0); in nvmet_file_execute_io()
182 bv_cnt = 0; in nvmet_file_execute_io()
205 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, total_len, ki_flags); in nvmet_file_execute_io()