Searched refs:bi_idx (Results 1 – 8 of 8) sorted by relevance
25 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()
2370 fbio->bi_iter.bi_idx = 0; in sync_request_write()
12 update bi_sector and bi_size, and advance bi_idx to the next biovec. If it18 bi_size and bi_idx have been moved there; and instead of modifying bv_offset32 instead of an integer (that corresponded to bi_idx); for a lot of code the55 it had to walk two different bios at the same time, keeping both bi_idx and89 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
38 idx = iter.bi_idx - 1; in bio_get_last_bvec()40 idx = iter.bi_idx; in bio_get_last_bvec()
257 bio->bi_iter.bi_idx = 0; in bio_init()
1315 bi.bi_idx = 0; in io_sg_from_iter()1330 from->bvec += bi.bi_idx; in io_sg_from_iter()1331 from->nr_segs -= bi.bi_idx; in io_sg_from_iter()
1708 bi.bi_idx = 0; in iov_iter_extract_bvec_pages()1714 while (bi.bi_size && bi.bi_idx < i->nr_segs) { in iov_iter_extract_bvec_pages()
695 src->bi_iter.bi_idx = 0; in __bch2_read_endio()