Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-cache-target.c457 unsigned long *dirty_bitset; member
689 return test_bit(from_cblock(b), cache->dirty_bitset); in is_dirty()
694 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) { in set_dirty()
706 if (!test_and_set_bit(from_cblock(cblock), cache->dirty_bitset)) in force_set_dirty()
713 if (test_and_clear_bit(from_cblock(cblock), cache->dirty_bitset)) { in force_clear_dirty()
1998 if (cache->dirty_bitset) in destroy()
1999 free_bitset(cache->dirty_bitset); in destroy()
2581 cache->dirty_bitset = alloc_bitset(from_cblock(cache->cache_size)); in cache_create()
2582 if (!cache->dirty_bitset) { in cache_create()
2586 clear_bitset(cache->dirty_bitset, from_cblock(cache->cache_size)); in cache_create()
[all …]