gc_th 26 fs/f2fs/gc.c struct f2fs_gc_kthread *gc_th = sbi->gc_thread; gc_th 30 fs/f2fs/gc.c wait_ms = gc_th->min_sleep_time; gc_th 36 fs/f2fs/gc.c gc_th->gc_wake, gc_th 40 fs/f2fs/gc.c if (gc_th->gc_wake) gc_th 41 fs/f2fs/gc.c gc_th->gc_wake = 0; gc_th 51 fs/f2fs/gc.c increase_sleep_time(gc_th, &wait_ms); gc_th 80 fs/f2fs/gc.c wait_ms = gc_th->urgent_sleep_time; gc_th 91 fs/f2fs/gc.c increase_sleep_time(gc_th, &wait_ms); gc_th 98 fs/f2fs/gc.c decrease_sleep_time(gc_th, &wait_ms); gc_th 100 fs/f2fs/gc.c increase_sleep_time(gc_th, &wait_ms); gc_th 106 fs/f2fs/gc.c wait_ms = gc_th->no_gc_sleep_time; gc_th 122 fs/f2fs/gc.c struct f2fs_gc_kthread *gc_th; gc_th 126 fs/f2fs/gc.c gc_th = f2fs_kmalloc(sbi, sizeof(struct f2fs_gc_kthread), GFP_KERNEL); gc_th 127 fs/f2fs/gc.c if (!gc_th) { gc_th 132 fs/f2fs/gc.c gc_th->urgent_sleep_time = DEF_GC_THREAD_URGENT_SLEEP_TIME; gc_th 133 fs/f2fs/gc.c gc_th->min_sleep_time = DEF_GC_THREAD_MIN_SLEEP_TIME; gc_th 134 fs/f2fs/gc.c gc_th->max_sleep_time = DEF_GC_THREAD_MAX_SLEEP_TIME; gc_th 135 fs/f2fs/gc.c gc_th->no_gc_sleep_time = DEF_GC_THREAD_NOGC_SLEEP_TIME; gc_th 137 fs/f2fs/gc.c gc_th->gc_wake= 0; gc_th 139 fs/f2fs/gc.c sbi->gc_thread = gc_th; gc_th 143 fs/f2fs/gc.c if (IS_ERR(gc_th->f2fs_gc_task)) { gc_th 144 fs/f2fs/gc.c err = PTR_ERR(gc_th->f2fs_gc_task); gc_th 145 fs/f2fs/gc.c kvfree(gc_th); gc_th 154 fs/f2fs/gc.c struct f2fs_gc_kthread *gc_th = sbi->gc_thread; gc_th 155 fs/f2fs/gc.c if (!gc_th) gc_th 157 fs/f2fs/gc.c kthread_stop(gc_th->f2fs_gc_task); gc_th 158 fs/f2fs/gc.c kvfree(gc_th); gc_th 68 fs/f2fs/gc.h static inline void increase_sleep_time(struct f2fs_gc_kthread *gc_th, gc_th 71 fs/f2fs/gc.h unsigned int min_time = gc_th->min_sleep_time; gc_th 72 fs/f2fs/gc.h unsigned int max_time = gc_th->max_sleep_time; gc_th 74 fs/f2fs/gc.h if (*wait == gc_th->no_gc_sleep_time) gc_th 83 fs/f2fs/gc.h static inline void decrease_sleep_time(struct f2fs_gc_kthread *gc_th, gc_th 86 fs/f2fs/gc.h unsigned int min_time = gc_th->min_sleep_time; gc_th 88 fs/f2fs/gc.h if (*wait == gc_th->no_gc_sleep_time) gc_th 89 fs/f2fs/gc.h *wait = gc_th->max_sleep_time;