Searched refs:gc_th (Results 1 – 2 of 2) sorted by relevance
125 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, in increase_sleep_time() argument128 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() argument143 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()
34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func() local43 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()70 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()99 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()113 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()120 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()122 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()[all …]