Home
last modified time | relevance | path

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

/drivers/nvme/target/
Dio-cmd-file.c130 unsigned long bv_cnt = 0; in nvmet_file_execute_io() local
149 nvmet_file_init_bvec(&req->f.bvec[bv_cnt], sg); in nvmet_file_execute_io()
150 len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
151 total_len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
152 bv_cnt++; in nvmet_file_execute_io()
157 (nr_bvec - 1 == 0 || bv_cnt == NVMET_MAX_MPOOL_BVEC)) { in nvmet_file_execute_io()
158 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, len, 0); in nvmet_file_execute_io()
163 bv_cnt = 0; in nvmet_file_execute_io()
186 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, total_len, ki_flags); in nvmet_file_execute_io()