Lines Matching refs:bi_iter
677 sector_t block_nr = bio->bi_iter.bi_sector; in get_bio_block()
694 sector_t b = bio->bi_iter.bi_sector; in get_bio_block_range()
695 sector_t e = b + (bio->bi_iter.bi_size >> SECTOR_SHIFT); in get_bio_block_range()
718 sector_t bi_sector = bio->bi_iter.bi_sector; in remap()
722 bio->bi_iter.bi_sector = in remap()
726 bio->bi_iter.bi_sector = (block * pool->sectors_per_block) + in remap()
1235 return bio->bi_iter.bi_size == in io_overlaps_block()
1863 if (bio_data_dir(bio) == WRITE && bio->bi_iter.bi_size) { in process_shared_bio()
1888 if (!bio->bi_iter.bi_size) { in provision_block()
1960 else if (bio->bi_iter.bi_sector < tc->origin_size) { in process_cell()
1962 bio->bi_iter.bi_size = (tc->origin_size - bio->bi_iter.bi_sector) << SECTOR_SHIFT; in process_cell()
2011 if (lookup_result.shared && (rw == WRITE) && bio->bi_iter.bi_size) { in __process_bio_read_only()
2098 sector_t bi_sector = bio->bi_iter.bi_sector; in __thin_bio_rb_add()
2106 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
2222 if (lhs_cell->holder->bi_iter.bi_sector < rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
2225 if (lhs_cell->holder->bi_iter.bi_sector > rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
4296 bio->bi_iter.bi_sector = dm_target_offset(ti, bio->bi_iter.bi_sector); in thin_map()