Searched refs:NR_HOTSPOT_LEVELS (Results 1 – 1 of 1) sorted by relevance
785 #define NR_HOTSPOT_LEVELS 64u macro1046 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()