Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-cache-policy-smq.c786 #define NR_CACHE_LEVELS 64u macro
864 return get_entry(ea, which ? level : NR_CACHE_LEVELS + level); in get_sentinel()
923 for (level = 0; level < NR_CACHE_LEVELS; level++) { in __sentinels_init()
1473 e->level = NR_CACHE_LEVELS - 1; in __complete_background_work()
1554 return hash_32(from_cblock(cblock), 9) & (NR_CACHE_LEVELS - 1); in random_level()
1567 e->level = hint_valid ? min(hint, NR_CACHE_LEVELS - 1) : random_level(cblock); in smq_load_mapping()
1728 unsigned nr_sentinels_per_queue = 2u * NR_CACHE_LEVELS; in __smq_create()
1789 q_init(&mq->clean, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1790 q_init(&mq->dirty, &mq->es, NR_CACHE_LEVELS); in __smq_create()
1793 stats_init(&mq->cache_stats, NR_CACHE_LEVELS); in __smq_create()