Searched refs:bi_idx (Results 1 – 6 of 6) sorted by relevance
| /Linux-v4.19/include/linux/ |
| D | bvec.h | 41 unsigned int bi_idx; /* current index into bvl_vec */ member 53 #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx]) 92 iter->bi_idx++; in bvec_iter_advance() 106 if (WARN_ONCE(iter->bi_idx == 0, in bvec_iter_rewind() 111 iter->bi_idx--; in bvec_iter_rewind() 133 .bi_idx = 0, \
|
| D | bio.h | 298 idx = iter.bi_idx - 1; in bio_get_last_bvec() 300 idx = iter.bi_idx; in bio_get_last_bvec()
|
| /Linux-v4.19/Documentation/block/ |
| D | biovecs.txt | 12 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 53 it had to walk two different bios at the same time, keeping both bi_idx and 87 norm, not all drivers would respect bi_idx and those would break. Now, 95 * Almost all usage of bi_idx is now incorrect and has been removed; instead, 96 where previously you would have used bi_idx you'd now use a bvec_iter, 99 I.e. instead of using bio_iovec_idx() (or bio->bi_iovec[bio->bi_idx]), you
|
| /Linux-v4.19/drivers/lightnvm/ |
| D | pblk.h | 1424 return bio->bi_iter.bi_idx; in pblk_get_bi_idx()
|
| /Linux-v4.19/lib/ |
| D | iov_iter.c | 67 __start.bi_idx = 0; \
|
| /Linux-v4.19/drivers/md/ |
| D | raid10.c | 2062 fbio->bi_iter.bi_idx = 0; in sync_request_write()
|