Lines Matching refs:dirty_bitset
456 unsigned long *dirty_bitset; member
694 return test_bit(from_cblock(b), cache->dirty_bitset); in is_dirty()
699 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) { in set_dirty()
711 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) in force_set_dirty()
718 if (test_and_clear_bit(from_cblock(cblock), cache->dirty_bitset)) { in force_clear_dirty()
2017 if (cache->dirty_bitset) in destroy()
2018 free_bitset(cache->dirty_bitset); in destroy()
2597 cache->dirty_bitset = alloc_bitset(from_cblock(cache->cache_size)); in cache_create()
2598 if (!cache->dirty_bitset) { in cache_create()
2602 clear_bitset(cache->dirty_bitset, from_cblock(cache->cache_size)); in cache_create()
2796 r = dm_cache_set_dirty_bits(cache->cmd, from_cblock(cache->cache_size), cache->dirty_bitset); in write_dirty_bitset()
2907 set_bit(from_cblock(cblock), cache->dirty_bitset); in load_mapping()
2910 clear_bit(from_cblock(cblock), cache->dirty_bitset); in load_mapping()