Searched refs:gc_control (Results 1 – 5 of 5) sorted by relevance
/fs/f2fs/ |
D | gc.c | 38 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() 1805 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control) in f2fs_gc() argument 1807 int gc_type = gc_control->init_gc_type; in f2fs_gc() 1808 unsigned int segno = gc_control->victim_segno; in f2fs_gc() 1819 trace_f2fs_gc_begin(sbi->sb, gc_type, gc_control->no_bg_gc, in f2fs_gc() 1820 gc_control->nr_free_secs, in f2fs_gc() [all …]
|
D | file.c | 1756 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_expand_inode_data() local 1799 err = f2fs_gc(sbi, &gc_control); in f2fs_expand_inode_data() 2546 struct f2fs_gc_control gc_control = { .victim_segno = NULL_SEGNO, in f2fs_ioc_gc() local 2575 gc_control.init_gc_type = sync ? FG_GC : BG_GC; in f2fs_ioc_gc() 2576 gc_control.err_gc_skipped = sync; in f2fs_ioc_gc() 2578 ret = f2fs_gc(sbi, &gc_control); in f2fs_ioc_gc() 2587 struct f2fs_gc_control gc_control = { in __f2fs_ioc_gc_range() local 2620 gc_control.victim_segno = GET_SEGNO(sbi, range->start); in __f2fs_ioc_gc_range() 2622 ret = f2fs_gc(sbi, &gc_control); in __f2fs_ioc_gc_range() 3063 struct f2fs_gc_control gc_control = { in f2fs_ioc_flush_device() local [all …]
|
D | super.c | 2186 struct f2fs_gc_control gc_control = { in f2fs_disable_checkpoint() local 2196 err = f2fs_gc(sbi, &gc_control); in f2fs_disable_checkpoint()
|
D | segment.c | 433 struct f2fs_gc_control gc_control = { in f2fs_balance_fs() local 442 f2fs_gc(sbi, &gc_control); in f2fs_balance_fs()
|
D | f2fs.h | 3887 int f2fs_gc(struct f2fs_sb_info *sbi, struct f2fs_gc_control *gc_control);
|