Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/btrfs/
H A Dasync-thread.c42 int current_active; member
44 /* Threshold to change current_active */
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()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dasync-thread.c43 int current_active; member
45 /* Threshold to change current_active */
96 ret->current_active = limit_active; in __btrfs_alloc_workqueue()
104 ret->current_active = 1; in __btrfs_alloc_workqueue()
110 ret->current_active, name); in __btrfs_alloc_workqueue()
113 ret->current_active, name); in __btrfs_alloc_workqueue()
196 new_current_active = wq->current_active; in thresh_exec_hook()
208 if (new_current_active != wq->current_active) { in thresh_exec_hook()
210 wq->current_active = new_current_active; in thresh_exec_hook()
216 workqueue_set_max_active(wq->normal_wq, wq->current_active); in thresh_exec_hook()
[all...]

Completed in 1 milliseconds