Lines Matching refs:limit_active
38 int limit_active; member
115 unsigned int flags, int limit_active, int thresh) in __btrfs_alloc_workqueue() argument
123 ret->limit_active = limit_active; in __btrfs_alloc_workqueue()
129 ret->current_active = limit_active; in __btrfs_alloc_workqueue()
167 int limit_active, in btrfs_alloc_workqueue() argument
177 limit_active, thresh); in btrfs_alloc_workqueue()
185 limit_active, thresh); in btrfs_alloc_workqueue()
242 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook()
438 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max() argument
442 wq->normal->limit_active = limit_active; in btrfs_workqueue_set_max()
444 wq->high->limit_active = limit_active; in btrfs_workqueue_set_max()