Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-policy-smq.c805 sector_t hotspot_block_size; member
1711 sector_t hotspot_block_size, in too_many_hotspot_blocks() argument
1714 return (hotspot_block_size * nr_hotspot_blocks) > origin_size; in too_many_hotspot_blocks()
1720 sector_t *hotspot_block_size, in calc_hotspot_params() argument
1723 *hotspot_block_size = cache_block_size * 16u; in calc_hotspot_params()
1726 while ((*hotspot_block_size > cache_block_size) && in calc_hotspot_params()
1727 too_many_hotspot_blocks(origin_size, *hotspot_block_size, *nr_hotspot_blocks)) in calc_hotspot_params()
1728 *hotspot_block_size /= 2u; in calc_hotspot_params()
1748 &mq->hotspot_block_size, &mq->nr_hotspot_blocks); in __smq_create()
1750 mq->cache_blocks_per_hotspot_block = div64_u64(mq->hotspot_block_size, mq->cache_block_size); in __smq_create()