Lines Matching refs:bi_iter
1249 struct bio_vec bv = bio_iter_iovec(bio, bio->bi_iter); in bio_copy_block()
1299 writecache_discard(wc, bio->bi_iter.bi_sector, in writecache_flush_thread()
1336 read_original_sector(wc, e) - bio->bi_iter.bi_sector; in writecache_map_remap_origin()
1337 if (next_boundary < bio->bi_iter.bi_size >> SECTOR_SHIFT) in writecache_map_remap_origin()
1351 e = writecache_find_entry(wc, bio->bi_iter.bi_sector, WFE_RETURN_FOLLOWING); in writecache_map_read()
1352 if (e && read_original_sector(wc, e) == bio->bi_iter.bi_sector) { in writecache_map_read()
1356 if (bio->bi_iter.bi_size) in writecache_map_read()
1362 bio->bi_iter.bi_sector = cache_sector(wc, e); in writecache_map_read()
1381 while (bio_size < bio->bi_iter.bi_size) { in writecache_bio_copy_ssd()
1386 write_original_sector_seq_count(wc, f, bio->bi_iter.bi_sector + in writecache_bio_copy_ssd()
1412 bio->bi_iter.bi_sector = start_cache_sec; in writecache_bio_copy_ssd()
1435 e = writecache_find_entry(wc, bio->bi_iter.bi_sector, 0); in writecache_map_write()
1459 e = writecache_find_entry(wc, bio->bi_iter.bi_sector, WFE_RETURN_FOLLOWING); in writecache_map_write()
1466 write_original_sector_seq_count(wc, e, bio->bi_iter.bi_sector, wc->seq_count); in writecache_map_write()
1475 } while (bio->bi_iter.bi_size); in writecache_map_write()
1515 writecache_discard(wc, bio->bi_iter.bi_sector, bio_end_sector(bio)); in writecache_map_discard()
1537 bio->bi_iter.bi_sector = dm_target_offset(ti, bio->bi_iter.bi_sector); in writecache_map()
1539 if (unlikely((((unsigned)bio->bi_iter.bi_sector | bio_sectors(bio)) & in writecache_map()
1542 (unsigned long long)bio->bi_iter.bi_sector, in writecache_map()
1543 bio->bi_iter.bi_size, wc->block_size); in writecache_map()
1829 bio->bi_iter.bi_sector = read_original_sector(wc, e); in __writecache_writeback_pmem()