Home
last modified time | relevance | path

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

/Linux-v5.10/fs/f2fs/
Dgc.c176 if (gc_type == BG_GC) { in select_gc_type()
672 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
673 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
675 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
736 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
884 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment()
1300 if (gc_type == BG_GC) { in move_data_page()
1387 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) || in gc_data_segment()
1584 if (gc_type == BG_GC && __is_large_section(sbi) && in do_garbage_collect()
1641 int gc_type = sync ? FG_GC : BG_GC; in f2fs_gc()
[all …]
Ddebug.c157 si->skipped_atomic_files[BG_GC] = sbi->skipped_atomic_files[BG_GC]; in update_general_status()
432 si->skipped_atomic_files[BG_GC] + in stat_show()
434 si->skipped_atomic_files[BG_GC]); in stat_show()
Dsegment.h178 BG_GC = 0, enumerator
Df2fs.h3693 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3696 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3708 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3716 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
Dsegment.c2802 if (!v_ops->get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment()
2829 if (!v_ops->get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
Dsuper.c3078 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
/Linux-v5.10/include/trace/events/
Df2fs.h36 TRACE_DEFINE_ENUM(BG_GC);
110 { BG_GC, "Background GC" })