Lines Matching refs:workqueue_struct
206 struct workqueue_struct *wq; /* I: the owning workqueue */
260 struct workqueue_struct { struct
364 struct workqueue_struct *system_wq __read_mostly;
366 struct workqueue_struct *system_highpri_wq __read_mostly;
368 struct workqueue_struct *system_long_wq __read_mostly;
370 struct workqueue_struct *system_unbound_wq __read_mostly;
372 struct workqueue_struct *system_freezable_wq __read_mostly;
374 struct workqueue_struct *system_power_efficient_wq __read_mostly;
376 struct workqueue_struct *system_freezable_power_efficient_wq __read_mostly;
380 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
582 static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, in unbound_pwq_by_node()
1376 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1421 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1543 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1614 bool queue_work_node(int node, struct workqueue_struct *wq, in queue_work_node()
1654 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1697 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
1735 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
1775 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work()
2134 struct workqueue_struct *wq = pwq->wq; in send_mayday()
2586 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
2715 static void check_flush_dependency(struct workqueue_struct *target_wq, in check_flush_dependency()
2851 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
2898 void __flush_workqueue(struct workqueue_struct *wq) in __flush_workqueue()
3060 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
3585 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3598 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3603 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3609 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3613 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3617 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3624 struct workqueue_struct *wq = in rcu_free_wq()
3625 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
3819 struct workqueue_struct *wq = pwq->wq; in pwq_unbound_release_workfn()
3863 struct workqueue_struct *wq = pwq->wq; in pwq_adjust_max_active()
3909 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
3929 struct workqueue_struct *wq = pwq->wq; in link_pwq()
3948 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
4023 static struct pool_workqueue *numa_pwq_tbl_install(struct workqueue_struct *wq, in numa_pwq_tbl_install()
4042 struct workqueue_struct *wq; /* target workqueue */
4067 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
4173 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
4219 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
4255 static void wq_update_unbound_numa(struct workqueue_struct *wq, int cpu, in wq_update_unbound_numa()
4318 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
4374 static int init_rescuer(struct workqueue_struct *wq) in init_rescuer()
4402 struct workqueue_struct *alloc_workqueue(const char *fmt, in alloc_workqueue()
4408 struct workqueue_struct *wq; in alloc_workqueue()
4521 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
4623 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
4694 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
4794 struct workqueue_struct *wq = NULL; in print_worker_info()
4956 void show_one_workqueue(struct workqueue_struct *wq) in show_one_workqueue()
5049 struct workqueue_struct *wq; in show_all_workqueues()
5270 struct workqueue_struct *wq; in workqueue_online_cpu()
5296 struct workqueue_struct *wq; in workqueue_offline_cpu()
5388 struct workqueue_struct *wq; in freeze_workqueues_begin()
5422 struct workqueue_struct *wq; in freeze_workqueues_busy()
5463 struct workqueue_struct *wq; in thaw_workqueues()
5490 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
5579 struct workqueue_struct *wq;
5583 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
5593 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
5602 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
5611 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
5632 struct workqueue_struct *wq = dev_to_wq(dev); in wq_pool_ids_show()
5654 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
5665 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
5682 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
5707 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
5721 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
5744 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_show()
5758 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_store()
5861 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
5920 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
5931 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()
6216 struct workqueue_struct *wq; in workqueue_init()