Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/md/
Ddm-cache-policy.c114 sector_t cache_block_size) in dm_cache_policy_create() argument
125 p = type->create(cache_size, origin_size, cache_block_size); in dm_cache_policy_create()
Ddm-cache-policy-smq.c800 sector_t cache_block_size; member
1706 sector_t cache_block_size, in calc_hotspot_params() argument
1711 *hotspot_block_size = cache_block_size * 16u; in calc_hotspot_params()
1714 while ((*hotspot_block_size > cache_block_size) && in calc_hotspot_params()
1721 sector_t cache_block_size, in __smq_create() argument
1735 mq->cache_block_size = cache_block_size; in __smq_create()
1737 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create()
1740 mq->cache_blocks_per_hotspot_block = div64_u64(mq->hotspot_block_size, mq->cache_block_size); in __smq_create()
1831 sector_t cache_block_size) in smq_create() argument
1833 return __smq_create(cache_size, origin_size, cache_block_size, false, true); in smq_create()
[all …]
Ddm-cache-target.c2395 static sector_t calculate_discard_block_size(sector_t cache_block_size, in calculate_discard_block_size() argument
2398 sector_t discard_block_size = cache_block_size; in calculate_discard_block_size()