Lines Matching defs:worker_pool
184 struct worker_pool { struct
185 raw_spinlock_t lock; /* the pool lock */
186 int cpu; /* I: the associated cpu */
187 int node; /* I: the associated node ID */
188 int id; /* I: pool ID */
189 unsigned int flags; /* L: flags */
191 unsigned long watchdog_ts; /* L: watchdog timestamp */
192 bool cpu_stall; /* WD: stalled cpu bound pool */
200 int nr_running;
202 struct list_head worklist; /* L: list of pending works */
204 int nr_workers; /* L: total number of workers */
205 int nr_idle; /* L: currently idle workers */
207 struct list_head idle_list; /* L: list of idle workers */
208 struct timer_list idle_timer; /* L: worker idle timeout */
209 struct work_struct idle_cull_work; /* L: worker idle cleanup */
211 struct timer_list mayday_timer; /* L: SOS timer for workers */
217 struct worker *manager; /* L: purely informational */
218 struct list_head workers; /* A: attached workers */
220 struct ida worker_ida; /* worker IDs for task name */
222 struct workqueue_attrs *attrs; /* I: worker attributes */
223 struct hlist_node hash_node; /* PL: unbound_pool_hash node */
224 int refcnt; /* PL: refcnt for unbound pools */
230 struct rcu_head rcu;