Searched refs:gc_active (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | pblk-gc.c | 404 ((gc->gc_active) && (nr_blocks_need > nr_blocks_free))); in pblk_gc_should_run() 564 pblk->gc.gc_active = 1; in pblk_gc_start() 572 if (gc->gc_enabled && !gc->gc_active) { in pblk_gc_should_start() 582 if (gc->gc_active && !gc->gc_forced) in pblk_gc_should_stop() 583 gc->gc_active = 0; in pblk_gc_should_stop() 592 int *gc_active) in pblk_gc_sysfs_state_show() 598 *gc_active = gc->gc_active; in pblk_gc_sysfs_state_show() 653 gc->gc_active = 0; in pblk_gc_init() 709 gc->gc_active in pblk_gc_exit() 591 pblk_gc_sysfs_state_show(struct pblk *pblk, int *gc_enabled, int *gc_active) pblk_gc_sysfs_state_show() argument [all...] |
H A D | pblk-sysfs.c | 85 int gc_enabled, gc_active; in pblk_sysfs_gc_state_show() local 87 pblk_gc_sysfs_state_show(pblk, &gc_enabled, &gc_active); in pblk_sysfs_gc_state_show() 88 return snprintf(page, PAGE_SIZE, "gc_enabled=%d, gc_active=%d\n", in pblk_sysfs_gc_state_show() 89 gc_enabled, gc_active); in pblk_sysfs_gc_state_show()
|
H A D | pblk.h | 229 int gc_active; member 895 int *gc_active);
|
Completed in 5 milliseconds