Lines Matching refs:FG_GC
133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
277 if (gc_type != FG_GC && in select_policy()
729 if (gc_type != FG_GC) in f2fs_gc_pinned_control()
800 if (gc_type == FG_GC && in f2fs_get_victim()
801 sbi->next_victim_seg[FG_GC] != NULL_SEGNO) { in f2fs_get_victim()
802 p.min_segno = sbi->next_victim_seg[FG_GC]; in f2fs_get_victim()
804 sbi->next_victim_seg[FG_GC] = NULL_SEGNO; in f2fs_get_victim()
810 if (p.alloc_mode == LFS && gc_type == FG_GC) { in f2fs_get_victim()
877 if (gc_type == FG_GC && f2fs_section_is_pinned(dirty_i, secno)) in f2fs_get_victim()
922 if (gc_type == FG_GC) in f2fs_get_victim()
1004 bool fggc = (gc_type == FG_GC); in gc_node_segment()
1062 if (!err && gc_type == FG_GC) in gc_node_segment()
1645 if (!err && (gc_type == FG_GC || in gc_data_segment()
1775 if (gc_type == FG_GC && in do_garbage_collect()
1835 gc_type = FG_GC; in f2fs_gc()
1858 if (ret == -ENODATA && gc_type == FG_GC && in f2fs_gc()
1873 if (gc_type == FG_GC) { in f2fs_gc()
1914 if (gc_type == FG_GC) in f2fs_gc()
1996 for (gc_type = BG_GC; gc_type <= FG_GC; gc_type++) in free_segment_range()
2012 do_garbage_collect(sbi, segno, &gc_list, FG_GC, true); in free_segment_range()