Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dgc.c180 p->dirty_segmap = dirty_i->dirty_segmap[type]; in select_policy()
185 p->dirty_segmap = dirty_i->dirty_segmap[DIRTY]; in select_policy()
342 segno = find_next_bit(p.dirty_segmap, last_segment, p.offset); in get_victim_by_default()
357 nsearched += count_bits(p.dirty_segmap, in get_victim_by_default()
Dsegment.h172 unsigned long *dirty_segmap; /* dirty segment bitmap */ member
279 unsigned long *dirty_segmap[NR_DIRTY_TYPE]; member
Dsegment.c757 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
768 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
778 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
785 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment()
1797 for_each_set_bit(segno, dirty_i->dirty_segmap[PRE], MAIN_SEGS(sbi)) in set_prefree_as_free_segments()
1809 unsigned long *prefree_map = dirty_i->dirty_segmap[PRE]; in f2fs_clear_prefree_segments()
4075 dirty_i->dirty_segmap[i] = f2fs_kvzalloc(sbi, bitmap_size, in build_dirty_segmap()
4077 if (!dirty_i->dirty_segmap[i]) in build_dirty_segmap()
4190 kvfree(dirty_i->dirty_segmap[dirty_type]); in discard_dirty_segmap()