Searched refs:block_div (Results 1 – 1 of 1) sorted by relevance
649 static dm_block_t block_div(dm_block_t b, uint32_t n) in block_div() function663 oblocks = block_div(oblocks, cache->sectors_per_block); in oblocks_per_dblock()670 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()1020 *e = to_dblock(block_div(se, cache->discard_block_size)); in calc_discard_block_range()2421 origin_blocks = block_div(origin_blocks, ca->block_size); in cache_create()2434 cache_size = block_div(cache_size, ca->block_size); in cache_create()