Home
last modified time | relevance | path

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

/linux-4.1.27/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.c468 key->block_begin = from_oblock(begin); in build_key()
469 key->block_end = from_oblock(end); in build_key()
500 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain()
516 build_key(oblock, to_oblock(from_oblock(oblock) + 1ULL), &key); in get_cell()
580 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()
1054 o_region.sector = from_oblock(mg->old_oblock) * cache->sectors_per_block; in issue_copy()
1058 o_region.sector = from_oblock(mg->new_oblock) * cache->sectors_per_block; in issue_copy()
2617 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-metadata.c659 uint64_t value = from_oblock(block); in pack_value()