Home
last modified time | relevance | path

Searched refs:gc_enabled (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/lightnvm/
Dpblk-gc.c336 if (gc->gc_enabled) { in pblk_gc_kick()
572 if (gc->gc_enabled && !gc->gc_active) { in pblk_gc_should_start()
591 void pblk_gc_sysfs_state_show(struct pblk *pblk, int *gc_enabled, in pblk_gc_sysfs_state_show() argument
597 *gc_enabled = gc->gc_enabled; in pblk_gc_sysfs_state_show()
613 gc->gc_enabled = 1; in pblk_gc_sysfs_force()
615 gc->gc_enabled = 0; in pblk_gc_sysfs_force()
655 gc->gc_enabled = 1; in pblk_gc_init()
707 gc->gc_enabled = 0; in pblk_gc_exit()
Dpblk-sysfs.c85 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()
89 gc_enabled, gc_active); in pblk_sysfs_gc_state_show()
Dpblk.h230 int gc_enabled; member
894 void pblk_gc_sysfs_state_show(struct pblk *pblk, int *gc_enabled,
Dpblk-init.c1166 pblk->gc.gc_enabled = 0; in pblk_init()