Home
last modified time | relevance | path

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

/Linux-v6.1/fs/f2fs/
Dgc.c38 struct f2fs_gc_control gc_control = { in gc_thread_func() local
145 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func()
146 gc_control.no_bg_gc = foreground; in gc_thread_func()
147 gc_control.nr_free_secs = foreground ? 1 : 0; in gc_thread_func()
150 if (f2fs_gc(sbi, &gc_control)) { in gc_thread_func()
1764 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control) in f2fs_gc() argument
1766 int gc_type = gc_control->init_gc_type; in f2fs_gc()
1767 unsigned int segno = gc_control->victim_segno; in f2fs_gc()
1777 trace_f2fs_gc_begin(sbi->sb, gc_type, gc_control->no_bg_gc, in f2fs_gc()
1778 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()
2413 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local
2442 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc()
2443 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc()
2444 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc()
2453 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local
2486 gc_control.victim_segno = GET_SEGNO(sbi, range->start); in __f2fs_ioc_gc_range()
2487 ret = f2fs_gc(sbi, &gc_control); in __f2fs_ioc_gc_range()
2902 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);