Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-cache-block-types.h35 static inline dm_cblock_t to_cblock(uint32_t b) in to_cblock() function
H A Ddm-cache-target.c2441 set_cache_size(cache, to_cblock(cache_size)); in cache_create()
2444 set_cache_size(cache, to_cblock(ca->cache_sectors >> cache->sectors_per_block_shift)); in cache_create()
2933 return to_cblock(size); in get_cache_dev_size()
2969 new_size = to_cblock(find_next_bit(cache->dirty_bitset, in can_resize()
3006 r = dm_cache_remove_mapping(cache->cmd, to_cblock(i)); in truncate_oblocks()
3297 result->begin = to_cblock(b); in parse_cblock_range()
3298 result->end = to_cblock(e); in parse_cblock_range()
3308 result->begin = to_cblock(b); in parse_cblock_range()
3309 result->end = to_cblock(from_cblock(result->begin) + 1u); in parse_cblock_range()
3346 return to_cblock(from_cblock(b) + 1); in cblock_succ()
H A Ddm-cache-policy-smq.c997 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()
1621 r = to_cblock(mq->cache_alloc.nr_allocated); in smq_residency()