Searched refs:from_cblock (Results 1 – 2 of 2) sorted by relevance
613 return test_bit(from_cblock(b), cache->dirty_bitset); in is_dirty() 618 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) { in set_dirty() 630 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) in force_set_dirty() 637 if (test_and_clear_bit(from_cblock(cblock), cache->dirty_bitset)) { in force_clear_dirty() 731 sector_t block = from_cblock(cblock); in remap_to_cache() 1113 c_region.sector = from_cblock(mg->op->cblock) * cache->sectors_per_block; in copy() 2404 dm_block_t nr_blocks = from_cblock(size); in set_cache_size() 2517 cache->dirty_bitset = alloc_bitset(from_cblock(cache->cache_size)); in cache_create() 2522 clear_bitset(cache->dirty_bitset, from_cblock(cache->cache_size)); in cache_create() 2542 cache->invalid_bitset = alloc_bitset(from_cblock(cach in cache_create() [all...]
40 static inline uint32_t from_cblock(dm_cblock_t b) in from_cblock() function