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

/linux-master/fs/f2fs/
H A Dgc.h125 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, argument
128 unsigned int min_time = gc_th->min_sleep_time;
129 unsigned int max_time = gc_th->max_sleep_time;
131 if (*wait == gc_th->no_gc_sleep_time)
140 static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, argument
143 unsigned int min_time = gc_th->min_sleep_time;
145 if (*wait == gc_th->no_gc_sleep_time)
146 *wait = gc_th->max_sleep_time;
H A Dgc.c34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; local
43 wait_ms = gc_th->min_sleep_time;
52 gc_th->gc_wake,
59 if (gc_th->gc_wake)
60 gc_th->gc_wake = false;
70 increase_sleep_time(gc_th, &wait_ms);
99 wait_ms = gc_th->urgent_sleep_time;
113 increase_sleep_time(gc_th, &wait_ms);
120 decrease_sleep_time(gc_th, &wait_ms);
122 increase_sleep_time(gc_th,
174 struct f2fs_gc_kthread *gc_th; local
206 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; local
[all...]

Completed in 112 milliseconds