Lines Matching refs:read_original_sector

409 static uint64_t read_original_sector(struct dm_writecache *wc, struct wc_entry *e)  in read_original_sector()  function
618 if (read_original_sector(wc, e) == block) in writecache_find_entry()
621 node = (read_original_sector(wc, e) >= block ? in writecache_find_entry()
626 if (read_original_sector(wc, e) >= block) in writecache_find_entry()
648 if (read_original_sector(wc, e2) != block) in writecache_find_entry()
662 if (read_original_sector(wc, e) > read_original_sector(wc, ins)) in writecache_insert_entry()
842 if (read_original_sector(wc, e2) == read_original_sector(wc, e) && in writecache_flush()
890 while (read_original_sector(wc, e) < end) { in writecache_discard()
1077 old = writecache_find_entry(wc, read_original_sector(wc, e), 0); in writecache_resume()
1084 (unsigned long long)b, (unsigned long long)read_original_sector(wc, e), in writecache_resume()
1344 read_original_sector(wc, e) - bio->bi_iter.bi_sector; in writecache_map_remap_origin()
1358 if (e && read_original_sector(wc, e) == bio->bi_iter.bi_sector) { in writecache_map_read()
1408 if (read_original_sector(wc, f) != in writecache_bio_copy_ssd()
1409 read_original_sector(wc, e) + (wc->block_size >> SECTOR_SHIFT)) in writecache_bio_copy_ssd()
1849 bio->bi_iter.bi_sector = read_original_sector(wc, e); in __writecache_writeback_pmem()
1868 if (read_original_sector(wc, f) != in __writecache_writeback_pmem()
1869 read_original_sector(wc, e) + (wc->block_size >> SECTOR_SHIFT)) in __writecache_writeback_pmem()
1913 to.sector = read_original_sector(wc, e); in __writecache_writeback_ssd()
2023 if (unlikely(read_original_sector(wc, f) == in writecache_writeback()
2024 read_original_sector(wc, e))) { in writecache_writeback()
2044 if (unlikely(read_original_sector(wc, g) == in writecache_writeback()
2045 read_original_sector(wc, f))) { in writecache_writeback()
2049 if (read_original_sector(wc, g) != in writecache_writeback()
2050 read_original_sector(wc, f) + (wc->block_size >> SECTOR_SHIFT)) in writecache_writeback()