| H A D | workqueue.c | 282 * When pwq->nr_active >= max_active, new work item is queued to 326 * Unlike in a per-cpu workqueue where max_active limits its concurrency level 327 * on each CPU, in an unbound workqueue, max_active applies to the whole system. 331 * The following struct is used to enforce per-node max_active. When a pwq wants 339 int max; /* per-node max_active */ 366 /* See alloc_workqueue() function comment for info on min/max_active */ 367 int max_active; /* WO: max active works */ member 369 int saved_max_active; /* WQ: saved max_active */ 1603 * Update @wq->node_nr_active[]->max. @wq must be unbound. max_active is 1605 * cpus. The result is always between @wq->min_active and max_active 1611 int max_active = READ_ONCE(wq->max_active); wq_update_node_max_active() local 5683 wq_clamp_max_active(int max_active,unsigned int flags,const char * name) wq_clamp_max_active() argument 5806 __alloc_workqueue(const char * fmt,unsigned int flags,int max_active,va_list args) __alloc_workqueue() argument 5926 alloc_workqueue_va(const char * fmt,unsigned int flags,int max_active,va_list args) alloc_workqueue_va() argument 5941 alloc_workqueue_noprof(const char * fmt,unsigned int flags,int max_active,...) alloc_workqueue_noprof() argument 5961 devm_alloc_workqueue_noprof(struct device * dev,const char * fmt,unsigned int flags,int max_active,...) devm_alloc_workqueue_noprof() argument 5985 alloc_workqueue_lockdep_map(const char * fmt,unsigned int flags,int max_active,struct lockdep_map * lockdep_map,...) alloc_workqueue_lockdep_map() argument 6122 workqueue_set_max_active(struct workqueue_struct * wq,int max_active) workqueue_set_max_active() argument [all...] |