Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dbvec.h84 unsigned int bi_bvec_done; /* number of bytes completed in member
106 __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, \
/openbmc/linux/drivers/md/
H A Ddm-io-rewind.c19 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()
/openbmc/linux/Documentation/block/
H A Dbiovecs.rst19 and bv_len, struct bvec_iter has bi_bvec_done, which represents the number of
24 normal code doesn't have to deal with bi_bvec_done.
28 constructed from the raw biovecs but taking into account bi_bvec_done and
104 taking into account bi_bvec_done (and bi_size).
/openbmc/linux/block/
H A Dblk-merge.c37 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()
H A Dbio.c258 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()
/openbmc/linux/io_uring/
H A Dnet.c1127 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()
/openbmc/linux/net/ceph/
H A Dmessenger.c764 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()
/openbmc/linux/drivers/block/
H A Dloop.c432 offset = bio->bi_iter.bi_bvec_done; in lo_rw_aio()
/openbmc/linux/drivers/nvme/host/
H A Dtcp.c301 offset = bio->bi_iter.bi_bvec_done; in nvme_tcp_init_iter()