Lines Matching defs:workqueue_struct
340 struct workqueue_struct { struct
341 struct list_head pwqs; /* WR: all pwqs of this wq */
342 struct list_head list; /* PR: list of all workqueues */
344 struct mutex mutex; /* protects this wq */
345 int work_color; /* WQ: current work color */
346 int flush_color; /* WQ: current flush color */
347 atomic_t nr_pwqs_to_flush; /* flush in progress */
348 struct wq_flusher *first_flusher; /* WQ: first flusher */
349 struct list_head flusher_queue; /* WQ: flush waiters */
350 struct list_head flusher_overflow; /* WQ: flush overflow list */
352 struct list_head maydays; /* MD: pwqs requesting rescue */
353 struct worker *rescuer; /* MD: rescue worker */
378 * Destruction of workqueue_struct is RCU protected to allow walking argument
382 struct rcu_head rcu;
385 unsigned int flags ____cacheline_aligned; /* WQ: WQ_* flags */
386 struct pool_workqueue __rcu * __percpu *cpu_pwq; /* I: per-cpu pwqs */
387 struct wq_node_nr_active *node_nr_active[]; /* I: per-node nr_active */