Lines Matching refs:BG_GC
195 if (gc_type == BG_GC) {
687 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) {
688 p.min_segno = sbi->next_victim_seg[BG_GC];
690 sbi->next_victim_seg[BG_GC] = NULL_SEGNO;
767 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap))
914 /* stop BG_GC if there is not enough free sections. */
915 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0))
1352 if (gc_type == BG_GC) {
1436 * stop BG_GC if there is not enough free sections.
1440 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) ||
1641 if (gc_type == BG_GC && __is_large_section(sbi) &&
1700 int gc_type = sync ? FG_GC : BG_GC;
1735 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) {
1751 /* f2fs_balance_fs doesn't need to do BG_GC in critical path. */
1752 if (gc_type == BG_GC && !background) {
1892 for (gc_type = BG_GC; gc_type <= FG_GC; gc_type++)