Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-cache-policy-smq.c802 sector_t hotspot_block_size; member
1701 sector_t hotspot_block_size, in too_many_hotspot_blocks() argument
1704 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks()
1710 sector_t *hotspot_block_size, in calc_hotspot_params() argument
1713 *hotspot_block_size = cache_block_size * 16u; in calc_hotspot_params()
1716 while ((*hotspot_block_size > cache_block_size) && in calc_hotspot_params()
1717 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params()
1718 *hotspot_block_size /= 2u; in calc_hotspot_params()
1740 &mq->hotspot_block_size, &mq->nr_hotspot_blocks); in __smq_create()
1742 mq->cache_blocks_per_hotspot_block = div64_u64(mq->hotspot_block_size, mq->cache_block_size); in __smq_create()