Searched refs:cache_sectors (Results 1 – 2 of 2) sorted by relevance
38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate() local52 div_u64(cache_sectors * dc->writeback_percent, 100); in __calc_target_rate()
1980 sector_t cache_sectors; member2056 ca->cache_sectors = get_dev_size(ca->cache_dev); in parse_cache_dev()2101 if (block_size > ca->cache_sectors) { in parse_block_size()2398 dm_block_t cache_size = ca->cache_sectors; in cache_create()2405 set_cache_size(cache, to_cblock(ca->cache_sectors >> cache->sectors_per_block_shift)); in cache_create()