Home
last modified time | relevance | path

Searched refs:gc_thread (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-fs-f2fs5 Controls the maximun sleep time for gc_thread. Time
12 Controls the minimum sleep time for gc_thread. Time
19 Controls the default sleep time for gc_thread. Time
/linux-4.4.14/fs/f2fs/
Dgc.c30 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()
112 sbi->gc_thread = gc_th; in start_gc_thread()
113 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in start_gc_thread()
114 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in start_gc_thread()
119 sbi->gc_thread = NULL; in start_gc_thread()
127 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in stop_gc_thread()
132 sbi->gc_thread = NULL; in stop_gc_thread()
159 p->gc_mode = select_gc_type(sbi->gc_thread, gc_type); in select_policy()
Dsuper.c117 return (unsigned char *)sbi->gc_thread; in __struct_ptr()
798 if (sbi->gc_thread) { in f2fs_remount()
803 } else if (!sbi->gc_thread) { in f2fs_remount()
Ddebug.c179 if (sbi->gc_thread) in update_mem_info()
Df2fs.h789 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
/linux-4.4.14/drivers/md/bcache/
Dbtree.h263 if (c->gc_thread) in wake_up_gc()
264 wake_up_process(c->gc_thread); in wake_up_gc()
Dbcache.h584 struct task_struct *gc_thread; member
Dbtree.c1799 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()
Dsuper.c1384 if (c->gc_thread) in cache_set_flush()
1385 kthread_stop(c->gc_thread); in cache_set_flush()