Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dgc.c29 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func()
30 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head; in gc_thread_func()
134 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()
135 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in f2fs_start_gc_thread()
136 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in f2fs_start_gc_thread()
141 sbi->gc_thread = NULL; in f2fs_start_gc_thread()
149 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in f2fs_stop_gc_thread()
154 sbi->gc_thread = NULL; in f2fs_stop_gc_thread()
Dsysfs.c50 return (unsigned char *)sbi->gc_thread; in __struct_ptr()
255 if (sbi->gc_thread) { in __sbi_store()
256 sbi->gc_thread->gc_wake = 1; in __sbi_store()
258 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
Ddebug.c227 if (sbi->gc_thread) in update_mem_info()
Dsuper.c1514 if (sbi->gc_thread) { in f2fs_remount()
1518 } else if (!sbi->gc_thread) { in f2fs_remount()
Df2fs.h1241 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
/Linux-v4.19/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-v4.19/drivers/md/bcache/
Dbcache.h625 struct task_struct *gc_thread; member
Dsuper.c1558 if (c->gc_thread) in cache_set_flush()
1559 kthread_stop(c->gc_thread); in cache_set_flush()
Dbtree.c1862 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()
1863 return PTR_ERR_OR_ZERO(c->gc_thread); in bch_gc_thread_start()