Searched refs:limit_active (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/ |
D | async-thread.c | 47 int limit_active; member 111 __btrfs_alloc_workqueue(const char *name, unsigned int flags, int limit_active, in __btrfs_alloc_workqueue() argument 119 ret->limit_active = limit_active; in __btrfs_alloc_workqueue() 125 ret->current_active = limit_active; in __btrfs_alloc_workqueue() 162 int limit_active, in btrfs_alloc_workqueue() argument 171 limit_active, thresh); in btrfs_alloc_workqueue() 178 ret->high = __btrfs_alloc_workqueue(name, flags, limit_active, in btrfs_alloc_workqueue() 236 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook() 393 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max() argument 397 wq->normal->limit_active = limit_active; in btrfs_workqueue_set_max() [all …]
|
D | async-thread.h | 72 int limit_active,
|