Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-background-tracker.c79 if (from_oblock(lhs) < from_oblock(rhs)) in cmp_oblock()
82 if (from_oblock(rhs) < from_oblock(lhs)) in cmp_oblock()
H A Ddm-cache-block-types.h30 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock() function
H A Ddm-cache-target.c503 return to_oblock(from_oblock(b) + 1ull); in oblock_succ()
510 key->block_begin = from_oblock(begin); in build_key()
511 key->block_end = from_oblock(end); in build_key()
582 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared()
670 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()
1101 o_region.sector = from_oblock(mg->op->oblock) * cache->sectors_per_block; in copy()
2646 if (unlikely(from_oblock(block) >= from_oblock(cache->origin_blocks))) { in cache_map()
H A Ddm-cache-policy-smq.c626 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_insert()
662 unsigned int h = hash_64(from_oblock(oblock), ht->hash_bits); in h_lookup()
679 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_remove()
1305 sector_t r = from_oblock(b); in to_hblock()
H A Ddm-cache-metadata.c736 uint64_t value = from_oblock(block); in pack_value()