Searched refs:dirty_i (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/fs/f2fs/ |
D | segment.c | 746 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __locate_dirty_segment() local 752 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment() 753 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment() 763 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment() 764 dirty_i->nr_dirty[t]++; in __locate_dirty_segment() 775 set_bit(secno, dirty_i->dirty_secmap); in __locate_dirty_segment() 783 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __remove_dirty_segment() local 786 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment() 787 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment() 793 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment() [all …]
|
D | gc.c | 248 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in select_policy() local 252 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy() 253 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 257 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy() 258 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 264 p->dirty_bitmap = dirty_i->dirty_secmap; in select_policy() 268 p->dirty_bitmap = dirty_i->dirty_segmap[DIRTY]; in select_policy() 269 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy() 315 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in check_bg_victims() local 323 for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) { in check_bg_victims() [all …]
|
D | sysfs.c | 1390 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in victim_bits_seq_show() local 1398 seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0); in victim_bits_seq_show()
|