Lines Matching refs:nr_hotspot_blocks
803 unsigned nr_hotspot_blocks; member
1093 clear_bitset(mq->hotspot_hit_bits, mq->nr_hotspot_blocks); in end_hotspot_period()
1700 unsigned nr_hotspot_blocks) in too_many_hotspot_blocks() argument
1702 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks()
1709 unsigned *nr_hotspot_blocks) in calc_hotspot_params() argument
1712 *nr_hotspot_blocks = max(nr_cache_blocks / 4u, 1024u); in calc_hotspot_params()
1715 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params()
1738 &mq->hotspot_block_size, &mq->nr_hotspot_blocks); in __smq_create()
1742 if (space_init(&mq->es, total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size))) { in __smq_create()
1756 total_sentinels + mq->nr_hotspot_blocks); in __smq_create()
1759 total_sentinels + mq->nr_hotspot_blocks, in __smq_create()
1760 total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size)); in __smq_create()
1762 mq->hotspot_hit_bits = alloc_bitset(mq->nr_hotspot_blocks); in __smq_create()
1767 clear_bitset(mq->hotspot_hit_bits, mq->nr_hotspot_blocks); in __smq_create()
1784 mq->hotspot.nr_in_top_levels = min(mq->nr_hotspot_blocks / NR_HOTSPOT_LEVELS, in __smq_create()
1796 if (h_init(&mq->hotspot_table, &mq->es, mq->nr_hotspot_blocks)) in __smq_create()