Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-policy-smq.c789 #define NR_CACHE_LEVELS 64u macro
873 return get_entry(ea, which ? level : NR_CACHE_LEVELS + level); in get_sentinel()
932 for (level = 0; level < NR_CACHE_LEVELS; level++) { in __sentinels_init()
1482 e->level = NR_CACHE_LEVELS - 1; in __complete_background_work()
1563 return hash_32(from_cblock(cblock), 9) & (NR_CACHE_LEVELS - 1); in random_level()
1576 e->level = hint_valid ? min(hint, NR_CACHE_LEVELS - 1) : random_level(cblock); in smq_load_mapping()
1736 unsigned int nr_sentinels_per_queue = 2u * NR_CACHE_LEVELS; in __smq_create()
1797 q_init(&mq->clean, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1798 q_init(&mq->dirty, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1801 stats_init(&mq->cache_stats, NR_CACHE_LEVELS); in __smq_create()