Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/f2fs/
Dgc.c32 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func()
33 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head; in gc_thread_func()
34 wait_queue_head_t *fggc_wq = &sbi->gc_thread->fggc_wq; in gc_thread_func()
165 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()
166 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in f2fs_start_gc_thread()
167 init_waitqueue_head(&sbi->gc_thread->fggc_wq); in f2fs_start_gc_thread()
168 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in f2fs_start_gc_thread()
173 sbi->gc_thread = NULL; in f2fs_start_gc_thread()
181 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in f2fs_stop_gc_thread()
187 sbi->gc_thread = NULL; in f2fs_stop_gc_thread()
Dsysfs.c58 return (unsigned char *)sbi->gc_thread; in __struct_ptr()
375 if (sbi->gc_thread) { in __sbi_store()
376 sbi->gc_thread->gc_wake = 1; in __sbi_store()
378 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
Ddebug.c265 if (sbi->gc_thread) in update_mem_info()
Dsegment.c600 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread && in f2fs_balance_fs()
601 sbi->gc_thread->f2fs_gc_task) { in f2fs_balance_fs()
604 prepare_to_wait(&sbi->gc_thread->fggc_wq, &wait, in f2fs_balance_fs()
606 wake_up(&sbi->gc_thread->gc_wait_queue_head); in f2fs_balance_fs()
608 finish_wait(&sbi->gc_thread->fggc_wq, &wait); in f2fs_balance_fs()
Dsuper.c1973 if (sbi->gc_thread) { in f2fs_remount()
1977 } else if (!sbi->gc_thread) { in f2fs_remount()
Df2fs.h1495 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-fs-f2fs4 Description: Controls the maximum sleep time for gc_thread. Time
10 Description: Controls the minimum sleep time for gc_thread. Time
16 Description: Controls the default sleep time for gc_thread. Time
/kernel/linux/linux-5.10/drivers/md/bcache/
Dbcache.h627 struct task_struct *gc_thread; member
Dsuper.c1748 if (!IS_ERR_OR_NULL(c->gc_thread)) in cache_set_flush()
1749 kthread_stop(c->gc_thread); in cache_set_flush()
Dbtree.c1867 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()