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