Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dasync-thread.c42 int current_active; member
100 ret->current_active = limit_active; in btrfs_alloc_workqueue()
108 ret->current_active = 1; in btrfs_alloc_workqueue()
112 ret->normal_wq = alloc_workqueue("btrfs-%s", flags, ret->current_active, in btrfs_alloc_workqueue()
137 ret->current_active = 1; in btrfs_alloc_ordered_workqueue()
186 new_current_active = wq->current_active; in thresh_exec_hook()
198 if (new_current_active != wq->current_active) { in thresh_exec_hook()
200 wq->current_active = new_current_active; in thresh_exec_hook()
206 workqueue_set_max_active(wq->normal_wq, wq->current_active); in thresh_exec_hook()