Lines Matching refs:dirty_i
176 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()
367 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
393 set_bit(secno, dirty_i->victim_secmap); in get_victim_by_default()
402 mutex_unlock(&dirty_i->seglist_lock); in get_victim_by_default()