Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Ddm-cache-policy-smq.c806 unsigned int nr_hotspot_blocks; member
1104 clear_bitset(mq->hotspot_hit_bits, mq->nr_hotspot_blocks); in end_hotspot_period()
1712 unsigned int nr_hotspot_blocks) in too_many_hotspot_blocks() argument
1714 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks()
1721 unsigned int *nr_hotspot_blocks) in calc_hotspot_params() argument
1724 *nr_hotspot_blocks = max(nr_cache_blocks / 4u, 1024u); in calc_hotspot_params()
1727 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params()
1748 &mq->hotspot_block_size, &mq->nr_hotspot_blocks); in __smq_create()
1752 if (space_init(&mq->es, total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size))) { in __smq_create()
1766 total_sentinels + mq->nr_hotspot_blocks); in __smq_create()
[all …]