Home
last modified time | relevance | path

Searched refs:gc_th (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dgc.h125 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, in increase_sleep_time() argument
128 unsigned int min_time = gc_th->min_sleep_time; in increase_sleep_time()
129 unsigned int max_time = gc_th->max_sleep_time; in increase_sleep_time()
131 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
140 static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, in decrease_sleep_time() argument
143 unsigned int min_time = gc_th->min_sleep_time; in decrease_sleep_time()
145 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
146 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
H A Dgc.c43 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
52 gc_th->gc_wake, in gc_thread_func()
59 if (gc_th->gc_wake) in gc_thread_func()
60 gc_th->gc_wake = false; in gc_thread_func()
178 if (!gc_th) in f2fs_start_gc_thread()
186 gc_th->gc_wake = false; in f2fs_start_gc_thread()
188 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()
196 kfree(gc_th); in f2fs_start_gc_thread()
208 if (!gc_th) in f2fs_stop_gc_thread()
211 wake_up_all(&gc_th->fggc_wq); in f2fs_stop_gc_thread()
[all …]