Searched refs:dirty_i (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/f2fs/ |
D | segment.c | 711 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __locate_dirty_segment() local 717 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment() 718 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment() 728 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment() 729 dirty_i->nr_dirty[t]++; in __locate_dirty_segment() 740 set_bit(secno, dirty_i->dirty_secmap); in __locate_dirty_segment() 748 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in __remove_dirty_segment() local 751 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment() 752 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment() 758 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment() [all …]
|
D | gc.c | 247 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in select_policy() local 251 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy() 252 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 256 p->dirty_bitmap = dirty_i->dirty_segmap[type]; in select_policy() 257 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 263 p->dirty_bitmap = dirty_i->dirty_secmap; in select_policy() 267 p->dirty_bitmap = dirty_i->dirty_segmap[DIRTY]; in select_policy() 268 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy() 314 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in check_bg_victims() local 322 for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) { in check_bg_victims() [all …]
|
D | sysfs.c | 1229 struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); in victim_bits_seq_show() local 1237 seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0); in victim_bits_seq_show()
|