Searched refs:gc_thread (Results 1 – 10 of 10) sorted by relevance
34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func()35 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head; in gc_thread_func()36 wait_queue_head_t *fggc_wq = &sbi->gc_thread->fggc_wq; in gc_thread_func()189 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()190 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in f2fs_start_gc_thread()191 init_waitqueue_head(&sbi->gc_thread->fggc_wq); in f2fs_start_gc_thread()192 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in f2fs_start_gc_thread()197 sbi->gc_thread = NULL; in f2fs_start_gc_thread()205 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in f2fs_stop_gc_thread()212 sbi->gc_thread = NULL; in f2fs_stop_gc_thread()
70 return (unsigned char *)sbi->gc_thread; in __struct_ptr()499 if (sbi->gc_thread) { in __sbi_store()500 sbi->gc_thread->gc_wake = 1; in __sbi_store()502 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()509 if (sbi->gc_thread) { in __sbi_store()510 sbi->gc_thread->gc_wake = 1; in __sbi_store()512 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
392 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread && in f2fs_balance_fs()393 sbi->gc_thread->f2fs_gc_task) { in f2fs_balance_fs()396 prepare_to_wait(&sbi->gc_thread->fggc_wq, &wait, in f2fs_balance_fs()398 wake_up(&sbi->gc_thread->gc_wait_queue_head); in f2fs_balance_fs()400 finish_wait(&sbi->gc_thread->fggc_wq, &wait); in f2fs_balance_fs()
275 if (sbi->gc_thread) in update_mem_info()
2331 if (sbi->gc_thread) { in f2fs_remount()2335 } else if (!sbi->gc_thread) { in f2fs_remount()
1732 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
4 Description: Controls the maximum sleep time for gc_thread. Time10 Description: Controls the minimum sleep time for gc_thread. Time16 Description: Controls the default sleep time for gc_thread. Time
633 struct task_struct *gc_thread; member
1867 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()1868 return PTR_ERR_OR_ZERO(c->gc_thread); in bch_gc_thread_start()
1724 if (!IS_ERR_OR_NULL(c->gc_thread)) in cache_set_flush()1725 kthread_stop(c->gc_thread); in cache_set_flush()