Lines Matching defs:worker_pool
189 struct worker_pool { struct
190 raw_spinlock_t lock; /* the pool lock */
191 int cpu; /* I: the associated cpu */
192 int node; /* I: the associated node ID */
193 int id; /* I: pool ID */
194 unsigned int flags; /* L: flags */
196 unsigned long watchdog_ts; /* L: watchdog timestamp */
197 bool cpu_stall; /* WD: stalled cpu bound pool */
205 int nr_running;
207 struct list_head worklist; /* L: list of pending works */
209 int nr_workers; /* L: total number of workers */
210 int nr_idle; /* L: currently idle workers */
212 struct list_head idle_list; /* L: list of idle workers */
213 struct timer_list idle_timer; /* L: worker idle timeout */
214 struct work_struct idle_cull_work; /* L: worker idle cleanup */
216 struct timer_list mayday_timer; /* L: SOS timer for workers */
222 struct worker *manager; /* L: purely informational */
223 struct list_head workers; /* A: attached workers */
225 struct ida worker_ida; /* worker IDs for task name */
227 struct workqueue_attrs *attrs; /* I: worker attributes */
228 struct hlist_node hash_node; /* PL: unbound_pool_hash node */
229 int refcnt; /* PL: refcnt for unbound pools */
235 struct rcu_head rcu;