Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.h135 static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, in increase_sleep_time() argument
138 unsigned int min_time = gc_th->min_sleep_time; in increase_sleep_time()
139 unsigned int max_time = gc_th->max_sleep_time; in increase_sleep_time()
141 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
150 static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, in decrease_sleep_time() argument
153 unsigned int min_time = gc_th->min_sleep_time; in decrease_sleep_time()
155 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
156 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
H A Dgc.c33 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func() local
38 wait_ms = gc_th->min_sleep_time; in gc_thread_func()
47 gc_th->gc_wake, in gc_thread_func()
54 if (gc_th->gc_wake) in gc_thread_func()
55 gc_th->gc_wake = 0; in gc_thread_func()
65 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
94 wait_ms = gc_th->urgent_sleep_time; in gc_thread_func()
108 increase_sleep_time(gc_th, &wait_ms); in gc_thread_func()
115 decrease_sleep_time(gc_th, &wait_ms); in gc_thread_func()
117 increase_sleep_time(gc_th, in gc_thread_func()
149 struct f2fs_gc_kthread *gc_th; f2fs_start_gc_thread() local
182 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; f2fs_stop_gc_thread() local
[all...]
/kernel/linux/linux-6.6/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.c34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func() local
43 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, in gc_thread_func()
174 struct f2fs_gc_kthread *gc_th; f2fs_start_gc_thread() local
206 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; f2fs_stop_gc_thread() local
[all...]

Completed in 4 milliseconds