• Home
  • Raw
  • Download

Lines Matching refs:read_original_sector

365 static uint64_t read_original_sector(struct dm_writecache *wc, struct wc_entry *e)  in read_original_sector()  function
545 if (read_original_sector(wc, e) == block) in writecache_find_entry()
548 node = (read_original_sector(wc, e) >= block ? in writecache_find_entry()
553 if (read_original_sector(wc, e) >= block) { in writecache_find_entry()
574 if (read_original_sector(wc, e2) != block) in writecache_find_entry()
588 if (read_original_sector(wc, e) > read_original_sector(wc, ins)) in writecache_insert_entry()
746 if (read_original_sector(wc, e2) == read_original_sector(wc, e) && in writecache_flush()
793 while (read_original_sector(wc, e) < end) { in writecache_discard()
937 old = writecache_find_entry(wc, read_original_sector(wc, e), 0); in writecache_resume()
944 (unsigned long long)b, (unsigned long long)read_original_sector(wc, e), in writecache_resume()
1159 if (e && read_original_sector(wc, e) == bio->bi_iter.bi_sector) { in writecache_map()
1176 read_original_sector(wc, e) - bio->bi_iter.bi_sector; in writecache_map()
1482 bio->bi_iter.bi_sector = read_original_sector(wc, e); in __writecache_writeback_pmem()
1498 if (read_original_sector(wc, f) != in __writecache_writeback_pmem()
1499 read_original_sector(wc, e) + (wc->block_size >> SECTOR_SHIFT)) in __writecache_writeback_pmem()
1539 to.sector = read_original_sector(wc, e); in __writecache_writeback_ssd()
1617 if (unlikely(read_original_sector(wc, f) == in writecache_writeback()
1618 read_original_sector(wc, e))) { in writecache_writeback()
1640 if (unlikely(read_original_sector(wc, g) == in writecache_writeback()
1641 read_original_sector(wc, f))) { in writecache_writeback()
1645 if (read_original_sector(wc, g) != in writecache_writeback()
1646 read_original_sector(wc, f) + (wc->block_size >> SECTOR_SHIFT)) in writecache_writeback()