Home
last modified time | relevance | path

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

/linux-6.15/fs/f2fs/
H A Dgc.h143 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, in increase_sleep_time() argument
146 unsigned int min_time = gc_th->min_sleep_time; in increase_sleep_time()
147 unsigned int max_time = gc_th->max_sleep_time; in increase_sleep_time()
149 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
158 static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, in decrease_sleep_time() argument
161 unsigned int min_time = gc_th->min_sleep_time; in decrease_sleep_time()
163 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
164 *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()
195 if (!gc_th) in f2fs_start_gc_thread()
215 gc_th->gc_wake = false; in f2fs_start_gc_thread()
217 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()
225 kfree(gc_th); in f2fs_start_gc_thread()
237 if (!gc_th) in f2fs_stop_gc_thread()
240 wake_up_all(&gc_th->fggc_wq); in f2fs_stop_gc_thread()
[all …]