Lines Matching refs:workqueue_struct

203 	struct workqueue_struct *wq;		/* I: the owning workqueue */
257 struct workqueue_struct { struct
361 struct workqueue_struct *system_wq __read_mostly;
363 struct workqueue_struct *system_highpri_wq __read_mostly;
365 struct workqueue_struct *system_long_wq __read_mostly;
367 struct workqueue_struct *system_unbound_wq __read_mostly;
369 struct workqueue_struct *system_freezable_wq __read_mostly;
371 struct workqueue_struct *system_power_efficient_wq __read_mostly;
373 struct workqueue_struct *system_freezable_power_efficient_wq __read_mostly;
377 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
579 static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, in unbound_pwq_by_node()
1373 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1418 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1536 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1607 bool queue_work_node(int node, struct workqueue_struct *wq, in queue_work_node()
1647 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1690 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
1728 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
1768 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work()
2033 struct workqueue_struct *wq = pwq->wq; in send_mayday()
2485 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
2614 static void check_flush_dependency(struct workqueue_struct *target_wq, in check_flush_dependency()
2750 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
2797 void __flush_workqueue(struct workqueue_struct *wq) in __flush_workqueue()
2959 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
3482 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3495 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3500 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3506 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
3510 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
3514 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
3521 struct workqueue_struct *wq = in rcu_free_wq()
3522 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
3706 struct workqueue_struct *wq = pwq->wq; in pwq_unbound_release_workfn()
3750 struct workqueue_struct *wq = pwq->wq; in pwq_adjust_max_active()
3796 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
3816 struct workqueue_struct *wq = pwq->wq; in link_pwq()
3835 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
3910 static struct pool_workqueue *numa_pwq_tbl_install(struct workqueue_struct *wq, in numa_pwq_tbl_install()
3929 struct workqueue_struct *wq; /* target workqueue */
3954 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
4058 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
4104 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
4140 static void wq_update_unbound_numa(struct workqueue_struct *wq, int cpu, in wq_update_unbound_numa()
4203 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
4259 static int init_rescuer(struct workqueue_struct *wq) in init_rescuer()
4287 struct workqueue_struct *alloc_workqueue(const char *fmt, in alloc_workqueue()
4293 struct workqueue_struct *wq; in alloc_workqueue()
4406 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
4503 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
4574 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
4674 struct workqueue_struct *wq = NULL; in print_worker_info()
4802 void show_one_workqueue(struct workqueue_struct *wq) in show_one_workqueue()
4895 struct workqueue_struct *wq; in show_all_workqueues()
5121 struct workqueue_struct *wq; in workqueue_online_cpu()
5147 struct workqueue_struct *wq; in workqueue_offline_cpu()
5239 struct workqueue_struct *wq; in freeze_workqueues_begin()
5273 struct workqueue_struct *wq; in freeze_workqueues_busy()
5314 struct workqueue_struct *wq; in thaw_workqueues()
5341 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
5441 struct workqueue_struct *wq;
5445 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
5455 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
5464 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
5473 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
5494 struct workqueue_struct *wq = dev_to_wq(dev); in wq_pool_ids_show()
5516 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
5527 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
5544 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
5569 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
5583 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
5606 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_show()
5620 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_store()
5723 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
5782 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
5793 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()
6078 struct workqueue_struct *wq; in workqueue_init()