Lines Matching refs:workqueue_struct
229 struct workqueue_struct *wq; /* I: the owning workqueue */
285 struct workqueue_struct { struct
429 struct workqueue_struct *system_wq __ro_after_init;
431 struct workqueue_struct *system_highpri_wq __ro_after_init;
433 struct workqueue_struct *system_long_wq __ro_after_init;
435 struct workqueue_struct *system_unbound_wq __ro_after_init;
437 struct workqueue_struct *system_freezable_wq __ro_after_init;
439 struct workqueue_struct *system_power_efficient_wq __ro_after_init;
441 struct workqueue_struct *system_freezable_power_efficient_wq __ro_after_init;
445 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
1665 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1705 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1828 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1895 bool queue_work_node(int node, struct workqueue_struct *wq, in queue_work_node()
1935 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1978 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
2016 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
2056 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work()
2390 struct workqueue_struct *wq = pwq->wq; in send_mayday()
2830 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
2952 static void check_flush_dependency(struct workqueue_struct *target_wq, in check_flush_dependency()
3087 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
3134 void __flush_workqueue(struct workqueue_struct *wq) in __flush_workqueue()
3296 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
3893 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3906 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3911 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3917 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3921 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3925 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3932 struct workqueue_struct *wq = in rcu_free_wq()
3933 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
4112 struct workqueue_struct *wq = pwq->wq; in pwq_release_workfn()
4155 struct workqueue_struct *wq = pwq->wq; in pwq_adjust_max_active()
4190 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
4210 struct workqueue_struct *wq = pwq->wq; in link_pwq()
4229 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
4293 static struct pool_workqueue *install_unbound_pwq(struct workqueue_struct *wq, in install_unbound_pwq()
4311 struct workqueue_struct *wq; /* target workqueue */
4336 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
4417 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
4462 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
4498 static void wq_update_pod(struct workqueue_struct *wq, int cpu, in wq_update_pod()
4551 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
4629 static int init_rescuer(struct workqueue_struct *wq) in init_rescuer()
4662 struct workqueue_struct *alloc_workqueue(const char *fmt, in alloc_workqueue()
4667 struct workqueue_struct *wq; in alloc_workqueue()
4776 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
4868 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
4940 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
5037 struct workqueue_struct *wq = NULL; in print_worker_info()
5199 void show_one_workqueue(struct workqueue_struct *wq) in show_one_workqueue()
5295 struct workqueue_struct *wq; in show_all_workqueues()
5320 struct workqueue_struct *wq; in show_freezable_workqueues()
5539 struct workqueue_struct *wq; in workqueue_online_cpu()
5574 struct workqueue_struct *wq; in workqueue_offline_cpu()
5679 struct workqueue_struct *wq; in freeze_workqueues_begin()
5713 struct workqueue_struct *wq; in freeze_workqueues_busy()
5754 struct workqueue_struct *wq; in thaw_workqueues()
5781 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
5867 struct workqueue_struct *wq; in wq_affn_dfl_set()
5922 struct workqueue_struct *wq;
5926 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
5936 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
5945 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
5954 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
5988 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
5999 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
6016 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
6041 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
6055 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
6078 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affn_scope_show()
6098 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affn_scope_store()
6120 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affinity_strict_show()
6130 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affinity_strict_store()
6300 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
6359 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
6370 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()
6749 struct workqueue_struct *wq; in workqueue_init()
6861 struct workqueue_struct *wq; in workqueue_init_topology()