Home
last modified time | relevance | path

Searched refs:gc_active (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/lightnvm/
Dpblk-gc.c386 ((gc->gc_active) && (nr_blocks_need > nr_blocks_free))); in pblk_gc_should_run()
542 pblk->gc.gc_active = 1; in pblk_gc_start()
550 if (gc->gc_enabled && !gc->gc_active) { in pblk_gc_should_start()
560 if (gc->gc_active && !gc->gc_forced) in pblk_gc_should_stop()
561 gc->gc_active = 0; in pblk_gc_should_stop()
570 int *gc_active) in pblk_gc_sysfs_state_show() argument
576 *gc_active = gc->gc_active; in pblk_gc_sysfs_state_show()
631 gc->gc_active = 0; in pblk_gc_init()
687 gc->gc_active = 0; in pblk_gc_exit()
Dpblk-sysfs.c84 int gc_enabled, gc_active; in pblk_sysfs_gc_state_show() local
86 pblk_gc_sysfs_state_show(pblk, &gc_enabled, &gc_active); in pblk_sysfs_gc_state_show()
88 gc_enabled, gc_active); in pblk_sysfs_gc_state_show()
Dpblk.h232 int gc_active; member
900 int *gc_active);