Home
last modified time | relevance | path

Searched refs:from_cblock (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Ddm-cache-policy-smq.c1018 if (!test_and_set_bit(from_cblock(infer_cblock(mq, e)), mq->cache_hit_bits)) { in requeue()
1128 clear_bitset(mq->cache_hit_bits, from_cblock(mq->cache_size));
1148 return from_cblock(mq->cache_size) * p / 100u; in clean_target_met()
1174 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; in mark_pending()
1484 from_cblock(work->cblock)); in __complete_background_work()
1540 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1573 return hash_32(from_cblock(cblock), 9) & (NR_CACHE_LEVELS - 1); in smq_load_mapping()
1583 e = alloc_particular_entry(&mq->cache_alloc, from_cblock(cblock)); in smq_load_mapping()
1601 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock)); in smq_invalidate_mapping()
1624 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cbloc in smq_residency()
[all...]
H A Ddm-cache-block-types.h40 static inline uint32_t from_cblock(dm_cblock_t b) in from_cblock() function