Home
last modified time | relevance | path

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

/linux-4.19.296/fs/f2fs/
Dsegment.c778 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __locate_dirty_segment() local
784 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
785 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
795 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
796 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
803 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __remove_dirty_segment() local
805 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
806 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
812 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment()
813 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
[all …]
Dgc.c176 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in select_policy() local
180 p->dirty_segmap = dirty_i->dirty_segmap[type]; in select_policy()
181 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
185 p->dirty_segmap = dirty_i->dirty_segmap[DIRTY]; in select_policy()
186 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
220 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in check_bg_victims() local
228 for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) { in check_bg_victims()
231 clear_bit(secno, dirty_i->victim_secmap); in check_bg_victims()
305 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in get_victim_by_default() local
312 mutex_lock(&dirty_i->seglist_lock); in get_victim_by_default()
[all …]
Dsysfs.c632 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in victim_bits_seq_show() local
640 seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0); in victim_bits_seq_show()