Home
last modified time | relevance | path

Searched refs:from_oblock (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-cache-background-tracker.c70 if (from_oblock(lhs) < from_oblock(rhs)) in cmp_oblock()
73 if (from_oblock(rhs) < from_oblock(lhs)) in cmp_oblock()
Ddm-cache-block-types.h29 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock() function
Ddm-cache-target.c502 return to_oblock(from_oblock(b) + 1ull); in oblock_succ()
509 key->block_begin = from_oblock(begin); in build_key()
510 key->block_end = from_oblock(end); in build_key()
578 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared()
666 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()
1088 o_region.sector = from_oblock(mg->op->oblock) * cache->sectors_per_block; in copy()
2608 if (unlikely(from_oblock(block) >= from_oblock(cache->origin_blocks))) { in cache_map()
Ddm-cache-policy-smq.c624 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_insert()
659 unsigned h = hash_64(from_oblock(oblock), ht->hash_bits); in h_lookup()
676 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_remove()
1296 sector_t r = from_oblock(b); in to_hblock()
Ddm-cache-metadata.c730 uint64_t value = from_oblock(block); in pack_value()