Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dgc.c38 struct f2fs_gc_control gc_control = { in gc_thread_func() local
58 gc_control.one_time = false; in gc_thread_func()
60 gc_control.one_time = true; in gc_thread_func()
153 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
154 gc_control.no_bg_gc = foreground; in gc_thread_func()
155 gc_control.nr_free_secs = foreground ? 1 : 0; in gc_thread_func()
158 if (f2fs_gc(sbi, &gc_control)) { in gc_thread_func()
1892 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control) in f2fs_gc() argument
1894 int gc_type = gc_control->init_gc_type; in f2fs_gc()
1895 unsigned int segno = gc_control->victim_segno; in f2fs_gc()
[all …]
H A Dfile.c1861 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data() local
1920 err = f2fs_gc(sbi, &gc_control); in f2fs_expand_inode_data()
2748 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local
2777 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc()
2778 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc()
2780 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc()
2789 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local
2822 gc_control.victim_segno = GET_SEGNO(sbi, range->start); in __f2fs_ioc_gc_range()
2824 ret = f2fs_gc(sbi, &gc_control); in __f2fs_ioc_gc_range()
3268 struct f2fs_gc_control gc_control = { in f2fs_ioc_flush_device() local
[all …]
H A Dsuper.c2583 struct f2fs_gc_control gc_control = { in f2fs_disable_checkpoint() local
2593 err = f2fs_gc(sbi, &gc_control); in f2fs_disable_checkpoint()
H A Dsegment.c456 struct f2fs_gc_control gc_control = { in f2fs_balance_fs() local
466 f2fs_gc(sbi, &gc_control); in f2fs_balance_fs()
H A Df2fs.h4107 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control);