Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dasync-thread.c42 int current_active; member
90 ret->current_active = limit_active; in btrfs_alloc_workqueue()
98 ret->current_active = 1; in btrfs_alloc_workqueue()
102 ret->normal_wq = alloc_workqueue("btrfs-%s", flags, ret->current_active, in btrfs_alloc_workqueue()
152 new_current_active = wq->current_active; in thresh_exec_hook()
164 if (new_current_active != wq->current_active) { in thresh_exec_hook()
166 wq->current_active = new_current_active; in thresh_exec_hook()
172 workqueue_set_max_active(wq->normal_wq, wq->current_active); in thresh_exec_hook()