Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c38 struct f2fs_gc_control gc_control = { in gc_thread_func() local
133 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
134 gc_control.no_bg_gc = foreground; in gc_thread_func()
135 gc_control.nr_free_secs = foreground ? 1 : 0; in gc_thread_func()
138 if (f2fs_gc(sbi, &gc_control)) { in gc_thread_func()
1794 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control) in f2fs_gc() argument
1796 int gc_type = gc_control->init_gc_type; in f2fs_gc()
1797 unsigned int segno = gc_control->victim_segno; in f2fs_gc()
1808 trace_f2fs_gc_begin(sbi->sb, gc_type, gc_control->no_bg_gc, in f2fs_gc()
1809 gc_control in f2fs_gc()
[all...]
H A Dfile.c1679 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data() local
1722 err = f2fs_gc(sbi, &gc_control); in f2fs_expand_inode_data()
2439 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local
2468 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc()
2469 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc()
2471 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc()
2480 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local
2513 gc_control.victim_segno = GET_SEGNO(sbi, range->start); in __f2fs_ioc_gc_range()
2515 ret = f2fs_gc(sbi, &gc_control); in __f2fs_ioc_gc_range()
2952 struct f2fs_gc_control gc_control in f2fs_ioc_flush_device() local
[all...]
H A Dsegment.c430 struct f2fs_gc_control gc_control = { in f2fs_balance_fs() local
439 f2fs_gc(sbi, &gc_control); in f2fs_balance_fs()
H A Dsuper.c2244 struct f2fs_gc_control gc_control = { in f2fs_disable_checkpoint() local
2253 err = f2fs_gc(sbi, &gc_control); in f2fs_disable_checkpoint()
H A Df2fs.h3869 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control);

Completed in 28 milliseconds