Lines Matching refs:wq
118 struct workqueue_struct *wq; member
421 extern void destroy_workqueue(struct workqueue_struct *wq);
425 int apply_workqueue_attrs(struct workqueue_struct *wq,
429 extern bool queue_work_on(int cpu, struct workqueue_struct *wq,
431 extern bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq,
433 extern bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq,
436 extern void flush_workqueue(struct workqueue_struct *wq);
437 extern void drain_workqueue(struct workqueue_struct *wq);
450 extern void workqueue_set_max_active(struct workqueue_struct *wq,
453 extern bool workqueue_congested(int cpu, struct workqueue_struct *wq);
469 static inline bool queue_work(struct workqueue_struct *wq, in queue_work() argument
472 return queue_work_on(WORK_CPU_UNBOUND, wq, work); in queue_work()
483 static inline bool queue_delayed_work(struct workqueue_struct *wq, in queue_delayed_work() argument
487 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in queue_delayed_work()
498 static inline bool mod_delayed_work(struct workqueue_struct *wq, in mod_delayed_work() argument
502 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); in mod_delayed_work()
615 int workqueue_sysfs_register(struct workqueue_struct *wq);
617 static inline int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register() argument