Searched refs:BG_GC (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/f2fs/ |
D | gc.c | 135 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func() 219 if (gc_type == BG_GC) { in select_gc_type() 762 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default() 763 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default() 765 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default() 842 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default() 995 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment() 1252 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block() 1413 if (gc_type == BG_GC) { in move_data_page() 1500 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) || in gc_data_segment() [all …]
|
D | segment.h | 181 BG_GC = 0, enumerator
|
D | f2fs.h | 4006 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ 4009 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ 4021 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ 4029 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
|
D | segment.c | 404 .init_gc_type = BG_GC, in f2fs_balance_fs() 2796 if (!v_ops->get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment() 2823 if (!v_ops->get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
|
D | file.c | 2446 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc() 2458 .init_gc_type = range->sync ? FG_GC : BG_GC, in __f2fs_ioc_gc_range()
|
D | super.c | 3612 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
|
/linux-6.1.9/include/trace/events/ |
D | f2fs.h | 33 TRACE_DEFINE_ENUM(BG_GC); 103 { BG_GC, "Background GC" }) 691 (__entry->gc_type == BG_GC) ? __entry->no_bg_gc : -1,
|