Lines Matching refs:cur_len
80 unsigned int cur_len; in nd_blk_rw_integrity() local
91 cur_len = min(len, bv.bv_len); in nd_blk_rw_integrity()
94 cur_len, rw); in nd_blk_rw_integrity()
99 len -= cur_len; in nd_blk_rw_integrity()
100 dev_offset += cur_len; in nd_blk_rw_integrity()
101 if (!bvec_iter_advance(bip->bip_vec, &bip->bip_iter, cur_len)) in nd_blk_rw_integrity()
130 unsigned int cur_len; in nsblk_do_bvec() local
138 cur_len = bip ? min(len, sector_size) : len; in nsblk_do_bvec()
142 dev_offset = to_dev_offset(nsblk, ns_offset, cur_len); in nsblk_do_bvec()
147 err = ndbr->do_io(ndbr, dev_offset, iobuf + off, cur_len, rw); in nsblk_do_bvec()
157 len -= cur_len; in nsblk_do_bvec()
158 off += cur_len; in nsblk_do_bvec()