Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dgc.c196 if (gc_type == BG_GC) { in select_gc_type()
688 if (sbi->next_victim_seg[BG_GC] != NULL_SEGNO) { in get_victim_by_default()
689 p.min_segno = sbi->next_victim_seg[BG_GC]; in get_victim_by_default()
691 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in get_victim_by_default()
768 if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) in get_victim_by_default()
917 if (gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) in gc_node_segment()
1171 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block()
1349 if (gc_type == BG_GC) { in move_data_page()
1437 if ((gc_type == BG_GC && has_not_enough_free_secs(sbi, 0, 0)) || in gc_data_segment()
1635 if (gc_type == BG_GC && __is_large_section(sbi) && in do_garbage_collect()
[all …]
H A Ddebug.c181 si->skipped_atomic_files[BG_GC] = sbi->skipped_atomic_files[BG_GC]; in update_general_status()
486 si->skipped_atomic_files[BG_GC] + in stat_show()
488 si->skipped_atomic_files[BG_GC]); in stat_show()
H A Dsegment.h178 BG_GC = 0, enumerator
H A Df2fs.h3968 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3971 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3983 si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
3991 si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \
H A Dsegment.c2845 if (!v_ops->get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment()
2872 if (!v_ops->get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
H A Dsuper.c3464 sbi->next_victim_seg[BG_GC] = NULL_SEGNO; in init_sb_info()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Df2fs.h37 TRACE_DEFINE_ENUM(BG_GC);
113 { BG_GC, "Background GC" })