Home
last modified time | relevance | path

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

/drivers/md/
Ddm-cache-block-types.h29 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock() function
Ddm-cache-policy-cleaner.c143 unsigned h = hash_64(from_oblock(oblock), hash->hash_bits); in lookup_cache_entry()
161 unsigned h = hash_64(from_oblock(e->oblock), p->chash.hash_bits); in insert_cache_hash_entry()
Ddm-cache-policy-mq.c88 if (bio->bi_sector == from_oblock(t->last_end_oblock) + 1) in iot_update_stats()
363 unsigned h = hash_64(from_oblock(e->oblock), mq->hash_bits); in hash_insert()
370 unsigned h = hash_64(from_oblock(oblock), mq->hash_bits); in hash_lookup()
Ddm-cache-target.c351 key->block = from_oblock(oblock); in build_key()
438 dm_block_t b = from_oblock(oblock); in oblock_to_dblock()
870 o_region.sector = from_oblock(mg->old_oblock) * cache->sectors_per_block; in issue_copy_real()
874 o_region.sector = from_oblock(mg->new_oblock) * cache->sectors_per_block; in issue_copy_real()
2153 if (from_oblock(block) > from_oblock(cache->origin_blocks)) { in cache_map()
Ddm-cache-metadata.c611 uint64_t value = from_oblock(block); in pack_value()