Searched refs:NR_HOTSPOT_LEVELS (Results 1 – 1 of 1) sorted by relevance
788 #define NR_HOTSPOT_LEVELS 64u macro1055 default_promote_level(mq) : (NR_HOTSPOT_LEVELS / 2u); in update_promote_levels()1057 threshold_level = max(threshold_level, NR_HOTSPOT_LEVELS); in update_promote_levels()1077 mq->read_promote_level = NR_HOTSPOT_LEVELS - threshold_level; in update_promote_levels()1078 mq->write_promote_level = (NR_HOTSPOT_LEVELS - threshold_level); in update_promote_levels()1792 q_init(&mq->hotspot, &mq->es, NR_HOTSPOT_LEVELS); in __smq_create()1794 mq->hotspot.nr_in_top_levels = min(mq->nr_hotspot_blocks / NR_HOTSPOT_LEVELS, in __smq_create()1800 stats_init(&mq->hotspot_stats, NR_HOTSPOT_LEVELS); in __smq_create()1810 mq->write_promote_level = mq->read_promote_level = NR_HOTSPOT_LEVELS; in __smq_create()