Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
Ddm-cache-block-types.h45 static inline dm_dblock_t to_dblock(dm_block_t b) in to_dblock() function
Ddm-cache-target.c670 return to_dblock(block_div(from_oblock(oblock), in oblock_to_dblock()
1015 *b = to_dblock(dm_sector_div_up(sb, cache->discard_block_size)); in calc_discard_block_range()
1020 *e = to_dblock(block_div(se, cache->discard_block_size)); in calc_discard_block_range()
1796 b = to_dblock(from_dblock(b) + 1); in process_discard_bio()
2501 cache->discard_nr_blocks = to_dblock(dm_sector_div_up(cache->origin_sectors, in cache_create()
2713 r = dm_cache_set_discard(cache->cmd, to_dblock(i), in write_discard_bitset()
2714 is_discarded(cache, to_dblock(i))); in write_discard_bitset()
2859 set_discard(li->cache, to_dblock(b)); in set_discard_range()
Ddm-cache-metadata.c597 cmd->discard_nr_blocks = to_dblock(le64_to_cpu(disk_super->discard_nr_blocks)); in read_superblock_fields()
1183 r = fn(context, cmd->discard_block_size, to_dblock(b), in __load_discards()
1200 r = fn(context, cmd->discard_block_size, to_dblock(b), false); in __load_discards()