Searched refs:to_cblock (Results 1 – 2 of 2) sorted by relevance
35 static inline dm_cblock_t to_cblock(uint32_t b) in to_cblock() function
2472 set_cache_size(cache, to_cblock(cache_size)); in cache_create()2475 set_cache_size(cache, to_cblock(ca->cache_sectors >> cache->sectors_per_block_shift)); in cache_create()2956 return to_cblock(size); in get_cache_dev_size()3009 new_size = to_cblock(find_next_bit(cache->dirty_bitset, in can_resize()3046 r = dm_cache_remove_mapping(cache->cmd, to_cblock(i)); in truncate_oblocks()3320 return to_cblock(from_cblock(b) + 1); in cblock_succ()3340 result->begin = to_cblock(b); in parse_cblock_range()3349 result->end = to_cblock(e); in parse_cblock_range()