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