Searched refs:gc_thread (Results 1 - 13 of 13) sorted by relevance

/linux-master/fs/bcachefs/
H A Dbtree_gc.h110 if (c->gc_thread)
111 wake_up_process(c->gc_thread);
H A Dbtree_gc.c2045 p = c->gc_thread;
2046 c->gc_thread = NULL;
2058 if (c->gc_thread)
2068 c->gc_thread = p;
H A Dbcachefs.h960 struct task_struct *gc_thread; member in struct:bch_fs
H A Dsysfs.c473 wake_up_process(c->gc_thread);
/linux-master/fs/f2fs/
H A Dsysfs.c70 return (unsigned char *)sbi->gc_thread;
563 if (sbi->gc_thread) {
564 sbi->gc_thread->gc_wake = true;
566 &sbi->gc_thread->gc_wait_queue_head);
573 if (sbi->gc_thread) {
574 sbi->gc_thread->gc_wake = true;
576 &sbi->gc_thread->gc_wait_queue_head);
H A Dgc.c34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread;
35 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head;
36 wait_queue_head_t *fggc_wq = &sbi->gc_thread->fggc_wq;
188 sbi->gc_thread = gc_th;
189 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head);
190 init_waitqueue_head(&sbi->gc_thread->fggc_wq);
191 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi,
197 sbi->gc_thread = NULL;
206 struct f2fs_gc_kthread *gc_th = sbi->gc_thread;
213 sbi->gc_thread
[all...]
H A Ddebug.c288 if (sbi->gc_thread)
518 seq_printf(s, "GC calls: %d (gc_thread: %d)\n",
H A Dsegment.c423 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread &&
424 sbi->gc_thread->f2fs_gc_task) {
427 prepare_to_wait(&sbi->gc_thread->fggc_wq, &wait,
429 wake_up(&sbi->gc_thread->gc_wait_queue_head);
431 finish_wait(&sbi->gc_thread->fggc_wq, &wait);
H A Dsuper.c2413 if (sbi->gc_thread) {
2417 } else if (!sbi->gc_thread) {
4701 * do start the gc_thread.
H A Df2fs.h1666 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member in struct:f2fs_sb_info
/linux-master/drivers/md/bcache/
H A Dbcache.h636 struct task_struct *gc_thread; member in struct:cache_set
H A Dbtree.c1904 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc");
1905 return PTR_ERR_OR_ZERO(c->gc_thread);
H A Dsuper.c1725 if (!IS_ERR_OR_NULL(c->gc_thread))
1726 kthread_stop(c->gc_thread);

Completed in 200 milliseconds