Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-cache-policy-smq.c785 #define NR_HOTSPOT_LEVELS 64u macro
1046 default_promote_level(mq) : (NR_HOTSPOT_LEVELS / 2u); in update_promote_levels()
1048 threshold_level = max(threshold_level, NR_HOTSPOT_LEVELS); in update_promote_levels()
1068 mq->read_promote_level = NR_HOTSPOT_LEVELS - threshold_level; in update_promote_levels()
1069 mq->write_promote_level = (NR_HOTSPOT_LEVELS - threshold_level); in update_promote_levels()
1784 q_init(&mq->hotspot, &mq->es, NR_HOTSPOT_LEVELS); in __smq_create()
1786 mq->hotspot.nr_in_top_levels = min(mq->nr_hotspot_blocks / NR_HOTSPOT_LEVELS, in __smq_create()
1792 stats_init(&mq->hotspot_stats, NR_HOTSPOT_LEVELS); in __smq_create()
1802 mq->write_promote_level = mq->read_promote_level = NR_HOTSPOT_LEVELS; in __smq_create()