Searched refs:gc_thread (Results 1 – 9 of 9) sorted by relevance
30 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func()31 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head; in gc_thread_func()109 sbi->gc_thread = gc_th; in start_gc_thread()110 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in start_gc_thread()111 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in start_gc_thread()116 sbi->gc_thread = NULL; in start_gc_thread()124 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in stop_gc_thread()129 sbi->gc_thread = NULL; in stop_gc_thread()156 p->gc_mode = select_gc_type(sbi->gc_thread, gc_type); in select_policy()
108 return (unsigned char *)sbi->gc_thread; in __struct_ptr()699 if (sbi->gc_thread) { in f2fs_remount()704 } else if (!sbi->gc_thread) { in f2fs_remount()
174 if (sbi->gc_thread) in update_mem_info()
677 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
5 Controls the maximun sleep time for gc_thread. Time12 Controls the minimum sleep time for gc_thread. Time19 Controls the default sleep time for gc_thread. Time
263 if (c->gc_thread) in wake_up_gc()264 wake_up_process(c->gc_thread); in wake_up_gc()
601 struct task_struct *gc_thread; member
1799 c->gc_thread = kthread_create(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()1800 if (IS_ERR(c->gc_thread)) in bch_gc_thread_start()1801 return PTR_ERR(c->gc_thread); in bch_gc_thread_start()1803 set_task_state(c->gc_thread, TASK_INTERRUPTIBLE); in bch_gc_thread_start()
1415 if (c->gc_thread) in cache_set_flush()1416 kthread_stop(c->gc_thread); in cache_set_flush()