Home
last modified time | relevance | path

Searched refs:BG_GC (Results 1 – 5 of 5) sorted by relevance

/fs/f2fs/
Dgc.c163 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type()
378 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
499 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment()
748 if (gc_type == BG_GC) { in move_data_page()
820 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_data_segment()
1011 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc()
1041 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) { in f2fs_gc()
1057 if (gc_type == BG_GC && !background) { in f2fs_gc()
Dsuper.c394 set_opt(sbi, BG_GC); in parse_options()
397 clear_opt(sbi, BG_GC); in parse_options()
400 set_opt(sbi, BG_GC); in parse_options()
1236 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options()
1357 set_opt(sbi, BG_GC); in default_options()
1478 if ((*flags & MS_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount()
2930 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()
Df2fs.h3075 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3078 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3090 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3098 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
Dsegment.h163 BG_GC = 0, enumerator
Dsegment.c2277 if (v_ops->get_victim(sbi, &segno, BG_GC, type, SSR)) { in get_ssr_segment()
2304 if (v_ops->get_victim(sbi, &segno, BG_GC, i, SSR)) { in get_ssr_segment()