Searched refs:bi_bvec_done (Results 1 – 9 of 9) sorted by relevance
45 unsigned int bi_bvec_done; /* number of bytes completed in member67 __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)70 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)113 bytes += iter->bi_bvec_done; in bvec_iter_advance()121 iter->bi_bvec_done = bytes; in bvec_iter_advance()132 unsigned int done = iter->bi_bvec_done + bytes; in bvec_iter_advance_single()138 iter->bi_bvec_done = done; in bvec_iter_advance_single()154 .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()
253 bio->bi_iter.bi_bvec_done = 0; in bio_init()1145 bio->bi_iter.bi_bvec_done = iter->iov_offset; in bio_iov_bvec_set()
1025 bi.bi_bvec_done = from->iov_offset; in io_sg_from_iter()1044 from->iov_offset = bi.bi_bvec_done; in io_sg_from_iter()
759 if (!bytes || (it->iter.bi_size && it->iter.bi_bvec_done && in ceph_msg_data_bio_advance()814 if (!bytes || (cursor->bvec_iter.bi_bvec_done && in ceph_msg_data_bvecs_advance()
437 offset = bio->bi_iter.bi_bvec_done; in lo_rw_aio()
288 offset = bio->bi_iter.bi_bvec_done; in nvme_tcp_init_iter()