Lines Matching refs:limit_active
47 int limit_active; member
97 __btrfs_alloc_workqueue(const char *name, unsigned int flags, int limit_active, in __btrfs_alloc_workqueue() argument
105 ret->limit_active = limit_active; in __btrfs_alloc_workqueue()
111 ret->current_active = limit_active; in __btrfs_alloc_workqueue()
148 int limit_active, in btrfs_alloc_workqueue() argument
157 limit_active, thresh); in btrfs_alloc_workqueue()
164 ret->high = __btrfs_alloc_workqueue(name, flags, limit_active, in btrfs_alloc_workqueue()
222 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook()
365 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max() argument
369 wq->normal->limit_active = limit_active; in btrfs_workqueue_set_max()
371 wq->high->limit_active = limit_active; in btrfs_workqueue_set_max()