Lines Matching refs:BG_GC
133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC;
220 if (gc_type == BG_GC) {
794 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) {
795 p.min_segno = sbi->next_victim_seg[BG_GC];
797 sbi->next_victim_seg[BG_GC] = NULL_SEGNO;
874 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap))
1022 /* stop BG_GC if there is not enough free sections. */
1023 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0))
1285 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) &&
1442 if (gc_type == BG_GC) {
1525 * stop BG_GC if there is not enough free sections.
1529 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) ||
1736 if (gc_type == BG_GC && __is_large_section(sbi) &&
1849 /* f2fs_balance_fs doesn't need to do BG_GC in critical path. */
1850 if (gc_type == BG_GC && gc_control->no_bg_gc) {
2002 for (gc_type = BG_GC; gc_type <= FG_GC; gc_type++)