Lines Matching defs:worker_pool
146 struct worker_pool { struct
147 spinlock_t lock; /* the pool lock */
148 int cpu; /* I: the associated cpu */
149 int node; /* I: the associated node ID */
150 int id; /* I: pool ID */
151 unsigned int flags; /* X: flags */
153 unsigned long watchdog_ts; /* L: watchdog timestamp */
155 struct list_head worklist; /* L: list of pending works */
156 int nr_workers; /* L: total number of workers */
159 int nr_idle; /* L: currently idle ones */
161 struct list_head idle_list; /* X: list of idle workers */
162 struct timer_list idle_timer; /* L: worker idle timeout */
163 struct timer_list mayday_timer; /* L: SOS timer for workers */
170 struct worker *manager; /* L: purely informational */
171 struct mutex attach_mutex; /* attach/detach exclusion */
172 struct list_head workers; /* A: attached workers */
173 struct completion *detach_completion; /* all workers detached */
175 struct ida worker_ida; /* worker IDs for task name */
177 struct workqueue_attrs *attrs; /* I: worker attributes */
178 struct hlist_node hash_node; /* PL: unbound_pool_hash node */
202 struct worker_pool *pool; /* I: the associated pool */ argument