Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dbvec.h45 unsigned int bi_bvec_done; /* number of bytes completed in member
67 __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, \
/linux-6.1.9/drivers/md/
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()
/linux-6.1.9/Documentation/block/
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).
/linux-6.1.9/block/
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()
Dbio.c253 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()
/linux-6.1.9/io_uring/
Dnet.c1025 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()
/linux-6.1.9/net/ceph/
Dmessenger.c759 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()
/linux-6.1.9/drivers/block/
Dloop.c437 offset = bio->bi_iter.bi_bvec_done; in lo_rw_aio()
/linux-6.1.9/drivers/nvme/host/
Dtcp.c288 offset = bio->bi_iter.bi_bvec_done; in nvme_tcp_init_iter()