Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dsegment.c756 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __locate_dirty_segment() local
762 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
763 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
773 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
774 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
785 set_bit(secno, dirty_i->dirty_secmap); in __locate_dirty_segment()
793 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __remove_dirty_segment() local
796 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
797 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
803 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment()
[all …]
H A Dgc.c250 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in select_policy() local
254 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy()
255 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
259 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy()
260 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
266 p->dirty_bitmap = dirty_i->dirty_secmap; in select_policy()
270 p->dirty_bitmap = dirty_i->dirty_segmap[DIRTY]; in select_policy()
271 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
317 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in check_bg_victims() local
325 for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) { in check_bg_victims()
[all …]
H A Dsysfs.c1396 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in victim_bits_seq_show() local
1404 seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0); in victim_bits_seq_show()