Lines Matching refs:workqueue_struct
18 struct workqueue_struct;
120 struct workqueue_struct *wq;
129 struct workqueue_struct *wq;
385 extern struct workqueue_struct *system_wq;
386 extern struct workqueue_struct *system_highpri_wq;
387 extern struct workqueue_struct *system_long_wq;
388 extern struct workqueue_struct *system_unbound_wq;
389 extern struct workqueue_struct *system_freezable_wq;
390 extern struct workqueue_struct *system_power_efficient_wq;
391 extern struct workqueue_struct *system_freezable_power_efficient_wq;
407 struct workqueue_struct *alloc_workqueue(const char *fmt,
436 extern void destroy_workqueue(struct workqueue_struct *wq);
440 int apply_workqueue_attrs(struct workqueue_struct *wq,
444 extern bool queue_work_on(int cpu, struct workqueue_struct *wq,
446 extern bool queue_work_node(int node, struct workqueue_struct *wq,
448 extern bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
450 extern bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq,
452 extern bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);
454 extern void flush_workqueue(struct workqueue_struct *wq);
455 extern void drain_workqueue(struct workqueue_struct *wq);
470 extern void workqueue_set_max_active(struct workqueue_struct *wq,
474 extern bool workqueue_congested(int cpu, struct workqueue_struct *wq);
504 static inline bool queue_work(struct workqueue_struct *wq, in queue_work()
518 static inline bool queue_delayed_work(struct workqueue_struct *wq, in queue_delayed_work()
533 static inline bool mod_delayed_work(struct workqueue_struct *wq, in mod_delayed_work()
650 int workqueue_sysfs_register(struct workqueue_struct *wq);
652 static inline int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()