Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dgc.c38 struct f2fs_gc_control gc_control = { in gc_thread_func() local
135 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
136 gc_control.no_bg_gc = foreground; in gc_thread_func()
137 gc_control.nr_free_secs = foreground ? 1 : 0; in gc_thread_func()
140 if (f2fs_gc(sbi, &gc_control)) { in gc_thread_func()
1765 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control) in f2fs_gc() argument
1767 int gc_type = gc_control->init_gc_type; in f2fs_gc()
1768 unsigned int segno = gc_control->victim_segno; in f2fs_gc()
1778 trace_f2fs_gc_begin(sbi->sb, gc_type, gc_control->no_bg_gc, in f2fs_gc()
1779 gc_control->nr_free_secs, in f2fs_gc()
[all …]
Dfile.c1693 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in expand_inode_data() local
1735 err = f2fs_gc(sbi, &gc_control); in expand_inode_data()
2417 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local
2446 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc()
2447 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc()
2448 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc()
2457 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local
2490 gc_control.victim_segno = GET_SEGNO(sbi, range->start); in __f2fs_ioc_gc_range()
2491 ret = f2fs_gc(sbi, &gc_control); in __f2fs_ioc_gc_range()
2906 struct f2fs_gc_control gc_control = { in f2fs_ioc_flush_device() local
[all …]
Dsuper.c2118 struct f2fs_gc_control gc_control = { in f2fs_disable_checkpoint() local
2126 err = f2fs_gc(sbi, &gc_control); in f2fs_disable_checkpoint()
Dsegment.c402 struct f2fs_gc_control gc_control = { in f2fs_balance_fs() local
410 f2fs_gc(sbi, &gc_control); in f2fs_balance_fs()
Df2fs.h3836 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control);