Home
last modified time | relevance | path

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

/linux-4.4.14/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-target.c517 key->block_begin = from_oblock(begin); in build_key()
518 key->block_end = from_oblock(end); in build_key()
549 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain()
565 build_key(oblock, to_oblock(from_oblock(oblock) + 1ULL), &key); in get_cell()
629 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()
1271 o_region.sector = from_oblock(mg->old_oblock) * cache->sectors_per_block; in issue_copy()
1275 o_region.sector = from_oblock(mg->new_oblock) * cache->sectors_per_block; in issue_copy()
3037 if (unlikely(from_oblock(block) >= from_oblock(cache->origin_blocks))) { in cache_map()
Ddm-cache-policy-mq.c76 if (bio->bi_iter.bi_sector == from_oblock(t->last_end_oblock) + 1) in iot_update_stats()
497 unsigned h = hash_64(from_oblock(e->oblock), mq->hash_bits); in hash_insert()
504 unsigned h = hash_64(from_oblock(oblock), mq->hash_bits); in hash_lookup()
Ddm-cache-policy-smq.c604 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_insert()
639 unsigned h = hash_64(from_oblock(oblock), ht->hash_bits); in h_lookup()
656 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_remove()
1185 sector_t r = from_oblock(b); in to_hblock()
Ddm-cache-metadata.c676 uint64_t value = from_oblock(block); in pack_value()