Searched refs:gc_control (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | gc.c | 38 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() 105 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in gc_thread_func() 110 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in gc_thread_func() 113 &gc_control.lc)) { in gc_thread_func() 120 f2fs_up_write_trace(&sbi->gc_lock, &gc_control.lc); in gc_thread_func() 130 &gc_control.lc); in gc_thread_func() 155 gc_control.init_gc_type = sync_mode ? FG_GC : BG_GC; in gc_thread_func() 156 gc_control.no_bg_gc = foreground; in gc_thread_func() [all …]
|
| H A D | file.c | 1958 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data() local 2025 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in f2fs_expand_inode_data() 2027 err = f2fs_gc(sbi, &gc_control); in f2fs_expand_inode_data() 2869 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local 2891 &gc_control.lc)) { in f2fs_ioc_gc() 2896 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in f2fs_ioc_gc() 2899 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc() 2900 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc() 2902 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc() 2911 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local [all …]
|
| H A D | super.c | 2683 struct f2fs_gc_control gc_control = { in f2fs_disable_checkpoint() local 2691 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in f2fs_disable_checkpoint() 2693 err = f2fs_gc(sbi, &gc_control); in f2fs_disable_checkpoint()
|
| H A D | segment.c | 464 struct f2fs_gc_control gc_control = { in f2fs_balance_fs() local 473 f2fs_down_write_trace(&sbi->gc_lock, &gc_control.lc); in f2fs_balance_fs() 475 f2fs_gc(sbi, &gc_control); in f2fs_balance_fs()
|
| H A D | f2fs.h | 4295 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control);
|