Searched refs:block_div (Results 1 – 1 of 1) sorted by relevance
645 static dm_block_t block_div(dm_block_t b, uint32_t n) in block_div() function659 oblocks = block_div(oblocks, cache->sectors_per_block); in oblocks_per_dblock()666 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()1008 *e = to_dblock(block_div(se, cache->discard_block_size)); in calc_discard_block_range()2383 origin_blocks = block_div(origin_blocks, ca->block_size); in cache_create()2396 cache_size = block_div(cache_size, ca->block_size); in cache_create()