Lines Matching refs:max_active
45 int max_active; member
90 __btrfs_alloc_workqueue(const char *name, unsigned int flags, int max_active, in __btrfs_alloc_workqueue() argument
98 ret->max_active = max_active; in __btrfs_alloc_workqueue()
104 ret->current_max = max_active; in __btrfs_alloc_workqueue()
113 ret->max_active, in __btrfs_alloc_workqueue()
117 ret->max_active, "btrfs", in __btrfs_alloc_workqueue()
136 int max_active, in btrfs_alloc_workqueue() argument
145 max_active, thresh); in btrfs_alloc_workqueue()
152 ret->high = __btrfs_alloc_workqueue(name, flags, max_active, in btrfs_alloc_workqueue()
210 new_max_active = clamp_val(new_max_active, 1, wq->max_active); in thresh_exec_hook()
357 wq->normal->max_active = max; in btrfs_workqueue_set_max()
359 wq->high->max_active = max; in btrfs_workqueue_set_max()