Lines Matching defs:workqueue_struct
260 struct workqueue_struct { struct
261 struct list_head pwqs; /* WR: all pwqs of this wq */
262 struct list_head list; /* PR: list of all workqueues */
264 struct mutex mutex; /* protects this wq */
265 int work_color; /* WQ: current work color */
266 int flush_color; /* WQ: current flush color */
267 atomic_t nr_pwqs_to_flush; /* flush in progress */
268 struct wq_flusher *first_flusher; /* WQ: first flusher */
292 * Destruction of workqueue_struct is RCU protected to allow walking argument
296 struct rcu_head rcu;
299 unsigned int flags ____cacheline_aligned; /* WQ: WQ_* flags */
300 struct pool_workqueue __percpu *cpu_pwqs; /* I: per-cpu pwqs */
301 struct pool_workqueue __rcu *numa_pwq_tbl[]; /* PWR: unbound pwqs indexed by node */