Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-era-target.c1165 int sectors_per_block_shift; member
1197 return era->sectors_per_block_shift >= 0; in block_size_is_power_of_two()
1207 block_nr >>= era->sectors_per_block_shift; in get_block()
1496 era->sectors_per_block_shift = -1; in era_ctr()
1498 era->sectors_per_block_shift = __ffs(era->sectors_per_block); in era_ctr()
Ddm-cache-target.c303 int sectors_per_block_shift; member
642 return cache->sectors_per_block_shift >= 0; in block_size_is_power_of_two()
657 oblocks >>= cache->sectors_per_block_shift; in oblocks_per_dblock()
729 (block << cache->sectors_per_block_shift) | in remap_to_cache()
775 block_nr >>= cache->sectors_per_block_shift; in get_bio_block()
2396 cache->sectors_per_block_shift = -1; in cache_create()
2400 cache->sectors_per_block_shift = __ffs(ca->block_size); in cache_create()
2401 set_cache_size(cache, to_cblock(ca->cache_sectors >> cache->sectors_per_block_shift)); in cache_create()
Ddm-thin.c240 int sectors_per_block_shift; member
366 return pool->sectors_per_block_shift >= 0; in block_size_is_power_of_two()
372 (b << pool->sectors_per_block_shift) : in block_to_sectors()
681 block_nr >>= pool->sectors_per_block_shift; in get_bio_block()
701 b >>= pool->sectors_per_block_shift; in get_bio_block_range()
702 e >>= pool->sectors_per_block_shift; in get_bio_block_range()
724 (block << pool->sectors_per_block_shift) | in remap()
2935 pool->sectors_per_block_shift = -1; in pool_create()
2937 pool->sectors_per_block_shift = __ffs(block_size); in pool_create()