Lines Matching refs:limit_active
40 int limit_active; member
82 unsigned int flags, int limit_active, int thresh) in __btrfs_alloc_workqueue() argument
90 ret->limit_active = limit_active; in __btrfs_alloc_workqueue()
96 ret->current_active = limit_active; in __btrfs_alloc_workqueue()
132 int limit_active, in btrfs_alloc_workqueue() argument
142 limit_active, thresh); in btrfs_alloc_workqueue()
150 limit_active, thresh); in btrfs_alloc_workqueue()
207 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook()
399 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max() argument
403 wq->normal->limit_active = limit_active; in btrfs_workqueue_set_max()
405 wq->high->limit_active = limit_active; in btrfs_workqueue_set_max()