Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-cache-target.c403 dm_oblock_t origin_blocks; member
2469 dm_block_t origin_blocks; in cache_create() local
2504 origin_blocks = cache->origin_sectors = ca->origin_sectors; in cache_create()
2505 origin_blocks = block_div(origin_blocks, ca->block_size); in cache_create()
2506 cache->origin_blocks = to_oblock(origin_blocks); in cache_create()
2730 if (unlikely(from_oblock(block) >= from_oblock(cache->origin_blocks))) { in cache_map()