Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dsysfs.c78 return (unsigned char *)sbi->gc_thread; in __struct_ptr()
656 if (sbi->gc_thread) { in __sbi_store()
657 sbi->gc_thread->gc_wake = true; in __sbi_store()
659 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
666 if (sbi->gc_thread) { in __sbi_store()
667 sbi->gc_thread->gc_wake = true; in __sbi_store()
669 &sbi->gc_thread->gc_wait_queue_head); in __sbi_store()
926 sbi->gc_thread->boost_gc_multiple = (unsigned int)t; in __sbi_store()
933 sbi->gc_thread->boost_gc_greedy = (unsigned int)t; in __sbi_store()
981 if (sbi->gc_thread && sbi->gc_thread->f2fs_gc_task) in __sbi_store()
[all …]
H A Dgc.c34 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in gc_thread_func()
35 wait_queue_head_t *wq = &sbi->gc_thread->gc_wait_queue_head; in gc_thread_func()
36 wait_queue_head_t *fggc_wq = &sbi->gc_thread->fggc_wq; in gc_thread_func()
224 sbi->gc_thread = gc_th; in f2fs_start_gc_thread()
225 init_waitqueue_head(&sbi->gc_thread->gc_wait_queue_head); in f2fs_start_gc_thread()
226 init_waitqueue_head(&sbi->gc_thread->fggc_wq); in f2fs_start_gc_thread()
227 sbi->gc_thread->f2fs_gc_task = kthread_run(gc_thread_func, sbi, in f2fs_start_gc_thread()
233 sbi->gc_thread = NULL; in f2fs_start_gc_thread()
244 struct f2fs_gc_kthread *gc_th = sbi->gc_thread; in f2fs_stop_gc_thread()
251 sbi->gc_thread = NULL; in f2fs_stop_gc_thread()
[all …]
H A Dgc.h200 sbi->gc_thread->boost_zoned_gc_percent); in need_to_boost_gc()
H A Dsegment.c447 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread && in f2fs_balance_fs()
448 sbi->gc_thread->f2fs_gc_task) { in f2fs_balance_fs()
451 prepare_to_wait(&sbi->gc_thread->fggc_wq, &wait, in f2fs_balance_fs()
453 wake_up(&sbi->gc_thread->gc_wait_queue_head); in f2fs_balance_fs()
455 finish_wait(&sbi->gc_thread->fggc_wq, &wait); in f2fs_balance_fs()
H A Ddebug.c356 if (sbi->gc_thread) in update_mem_info()
H A Dsuper.c2917 if (sbi->gc_thread) { in __f2fs_remount()
2921 } else if (!sbi->gc_thread) { in __f2fs_remount()
H A Df2fs.h1877 struct f2fs_gc_kthread *gc_thread; /* GC thread */ member
/linux/drivers/md/bcache/
H A Dbcache.h637 struct task_struct *gc_thread; member
H A Dbtree.c1907 c->gc_thread = kthread_run(bch_gc_thread, c, "bcache_gc"); in bch_gc_thread_start()
1908 return PTR_ERR_OR_ZERO(c->gc_thread); in bch_gc_thread_start()
H A Dsuper.c1725 if (!IS_ERR_OR_NULL(c->gc_thread)) in CLOSURE_CALLBACK()
1726 kthread_stop(c->gc_thread); in CLOSURE_CALLBACK()
/linux/Documentation/ABI/testing/
H A 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