Searched refs:bi_bvec_done (Results 1 – 9 of 9) sorted by relevance
84 unsigned int bi_bvec_done; /* number of bytes completed in member106 __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)109 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)152 bytes += iter->bi_bvec_done; in bvec_iter_advance()160 iter->bi_bvec_done = bytes; in bvec_iter_advance()171 unsigned int done = iter->bi_bvec_done + bytes; in bvec_iter_advance_single()177 iter->bi_bvec_done = done; in bvec_iter_advance_single()193 .bi_bvec_done = 0, \
19 if (bytes <= iter->bi_bvec_done) { in dm_bvec_iter_rewind()20 iter->bi_bvec_done -= bytes; in dm_bvec_iter_rewind()24 bytes -= iter->bi_bvec_done; in dm_bvec_iter_rewind()35 iter->bi_bvec_done = 0; in dm_bvec_iter_rewind()41 iter->bi_bvec_done = bv[idx].bv_len - bytes; in dm_bvec_iter_rewind()
19 and bv_len, struct bvec_iter has bi_bvec_done, which represents the number of24 normal code doesn't have to deal with bi_bvec_done.28 constructed from the raw biovecs but taking into account bi_bvec_done and104 taking into account bi_bvec_done (and bi_size).
37 if (!iter.bi_bvec_done) in bio_get_last_bvec()48 if (iter.bi_bvec_done) in bio_get_last_bvec()49 bv->bv_len = iter.bi_bvec_done; in bio_get_last_bvec()
258 bio->bi_iter.bi_bvec_done = 0; in bio_init()1184 bio->bi_iter.bi_bvec_done = iter->iov_offset; in bio_iov_bvec_set()
1127 bi.bi_bvec_done = from->iov_offset; in io_sg_from_iter()1146 from->iov_offset = bi.bi_bvec_done; in io_sg_from_iter()
764 if (!bytes || (it->iter.bi_size && it->iter.bi_bvec_done && in ceph_msg_data_bio_advance()819 if (!bytes || (cursor->bvec_iter.bi_bvec_done && in ceph_msg_data_bvecs_advance()
432 offset = bio->bi_iter.bi_bvec_done; in lo_rw_aio()
301 offset = bio->bi_iter.bi_bvec_done; in nvme_tcp_init_iter()