Searched refs:BG_GC (Results 1 – 6 of 6) sorted by relevance
| /linux-4.4.14/fs/f2fs/ |
| D | gc.c | 137 int gc_mode = (gc_type == BG_GC) ? GC_CB : GC_GREEDY; in select_gc_type() 306 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 422 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0)) in gc_node_segment() 635 if (gc_type == BG_GC) { in move_data_page() 689 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0)) in gc_data_segment() 820 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc() 838 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, sec_freed)) { in f2fs_gc()
|
| D | super.c | 300 set_opt(sbi, BG_GC); in parse_options() 303 clear_opt(sbi, BG_GC); in parse_options() 306 set_opt(sbi, BG_GC); in parse_options() 643 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options() 739 set_opt(sbi, BG_GC); in default_options() 797 if ((*flags & MS_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount() 1344 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()
|
| D | f2fs.h | 1962 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 1965 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 1977 si->bg_data_blks += (gc_type == BG_GC) ? (blks) : 0; \ 1985 si->bg_node_blks += (gc_type == BG_GC) ? (blks) : 0; \
|
| D | segment.h | 143 BG_GC = 0, enumerator
|
| D | segment.c | 1076 &(curseg)->next_segno, BG_GC, type, SSR); in get_ssr_segment() 1081 BG_GC, type, SSR)) in get_ssr_segment()
|
| /linux-4.4.14/include/trace/events/ |
| D | f2fs.h | 30 TRACE_DEFINE_ENUM(BG_GC); 99 { BG_GC, "Background GC" })
|