Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-file.c123 unsigned long bv_cnt = 0; in nvmet_file_execute_io() local
142 bvec_set_page(&req->f.bvec[bv_cnt], sg_page(sg), sg->length, in nvmet_file_execute_io()
144 len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
145 total_len += req->f.bvec[bv_cnt].bv_len; in nvmet_file_execute_io()
146 bv_cnt++; in nvmet_file_execute_io()
151 (nr_bvec - 1 == 0 || bv_cnt == NVMET_MAX_MPOOL_BVEC)) { in nvmet_file_execute_io()
152 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, len, 0); in nvmet_file_execute_io()
157 bv_cnt = 0; in nvmet_file_execute_io()
180 ret = nvmet_file_submit_bvec(req, pos, bv_cnt, total_len, ki_flags); in nvmet_file_execute_io()