Searched refs:cache_block_size (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | dm-cache-policy.c | 114 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()
|
D | dm-cache-policy-smq.c | 800 sector_t cache_block_size; member 1708 sector_t cache_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() 1723 sector_t cache_block_size, in __smq_create() argument 1737 mq->cache_block_size = cache_block_size; in __smq_create() 1739 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size), in __smq_create() 1742 mq->cache_blocks_per_hotspot_block = div64_u64(mq->hotspot_block_size, mq->cache_block_size); in __smq_create() 1833 sector_t cache_block_size) in smq_create() argument 1835 return __smq_create(cache_size, origin_size, cache_block_size, false, true); in smq_create() [all …]
|
D | dm-cache-target.c | 2316 static sector_t calculate_discard_block_size(sector_t cache_block_size, in calculate_discard_block_size() argument 2319 sector_t discard_block_size = cache_block_size; in calculate_discard_block_size()
|