Home
last modified time | relevance | path

Searched refs:bi_idx (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dbvec.h82 unsigned int bi_idx; /* current index into bvl_vec */ member
98 #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx])
143 unsigned int idx = iter->bi_idx; in bvec_iter_advance()
159 iter->bi_idx = idx; in bvec_iter_advance()
173 if (done == bv[iter->bi_idx].bv_len) { in bvec_iter_advance_single()
175 iter->bi_idx++; in bvec_iter_advance_single()
192 .bi_idx = 0, \
/linux-6.3-rc2/drivers/md/
A Ddm-io-rewind.c25 idx = iter->bi_idx - 1; in dm_bvec_iter_rewind()
36 iter->bi_idx = 0; in dm_bvec_iter_rewind()
40 iter->bi_idx = idx; in dm_bvec_iter_rewind()
A Draid10.c2415 fbio->bi_iter.bi_idx = 0; in sync_request_write()
/linux-6.3-rc2/Documentation/block/
A Dbiovecs.rst12 update bi_sector and bi_size, and advance bi_idx to the next biovec. If it
18 bi_size and bi_idx have been moved there; and instead of modifying bv_offset
32 instead of an integer (that corresponded to bi_idx); for a lot of code the
55 it had to walk two different bios at the same time, keeping both bi_idx and
89 norm, not all drivers would respect bi_idx and those would break. Now,
97 * Almost all usage of bi_idx is now incorrect and has been removed; instead,
98 where previously you would have used bi_idx you'd now use a bvec_iter,
101 I.e. instead of using bio_iovec_idx() (or bio->bi_iovec[bio->bi_idx]), you
/linux-6.3-rc2/block/
A Dblk-merge.c38 idx = iter.bi_idx - 1; in bio_get_last_bvec()
40 idx = iter.bi_idx; in bio_get_last_bvec()
A Dbio.c257 bio->bi_iter.bi_idx = 0; in bio_init()
/linux-6.3-rc2/io_uring/
A Dnet.c1044 bi.bi_idx = 0; in io_sg_from_iter()
1059 from->bvec += bi.bi_idx; in io_sg_from_iter()
1060 from->nr_segs -= bi.bi_idx; in io_sg_from_iter()

Completed in 19 milliseconds