Lines Matching refs:workqueue_struct
258 struct workqueue_struct *wq; /* I: the owning workqueue */
335 struct workqueue_struct { struct
506 struct workqueue_struct *system_wq __ro_after_init;
508 struct workqueue_struct *system_highpri_wq __ro_after_init;
510 struct workqueue_struct *system_long_wq __ro_after_init;
512 struct workqueue_struct *system_unbound_wq __ro_after_init;
514 struct workqueue_struct *system_freezable_wq __ro_after_init;
516 struct workqueue_struct *system_power_efficient_wq __ro_after_init;
518 struct workqueue_struct *system_freezable_power_efficient_wq __ro_after_init;
520 struct workqueue_struct *system_bh_wq;
522 struct workqueue_struct *system_bh_highpri_wq;
526 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
722 unbound_pwq_slot(struct workqueue_struct *wq, int cpu) in unbound_pwq_slot()
731 static struct pool_workqueue *unbound_pwq(struct workqueue_struct *wq, int cpu) in unbound_pwq()
746 static struct cpumask *unbound_effective_cpumask(struct workqueue_struct *wq) in unbound_effective_cpumask()
1552 static struct wq_node_nr_active *wq_node_nr_active(struct workqueue_struct *wq, in wq_node_nr_active()
1573 static void wq_update_node_max_active(struct workqueue_struct *wq, int off_cpu) in wq_update_node_max_active()
1712 struct workqueue_struct *wq = pwq->wq; in pwq_tryinc_nr_active()
1824 static void unplug_oldest_pwq(struct workqueue_struct *wq) in unplug_oldest_pwq()
2195 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
2235 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
2382 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
2450 bool queue_work_node(int node, struct workqueue_struct *wq, in queue_work_node()
2491 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
2549 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
2588 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
2624 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work()
2988 struct workqueue_struct *wq = pwq->wq; in send_mayday()
3443 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
3701 static void check_flush_dependency(struct workqueue_struct *target_wq, in check_flush_dependency()
3844 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
3898 static void touch_wq_lockdep_map(struct workqueue_struct *wq) in touch_wq_lockdep_map()
3916 struct workqueue_struct *wq) in touch_work_lockdep_map()
3937 void __flush_workqueue(struct workqueue_struct *wq) in __flush_workqueue()
4098 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
4148 struct workqueue_struct *wq; in start_flush_work()
4797 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
4811 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
4819 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
4828 static void wq_init_lockdep(struct workqueue_struct *wq) in wq_init_lockdep()
4832 static void wq_unregister_lockdep(struct workqueue_struct *wq) in wq_unregister_lockdep()
4836 static void wq_free_lockdep(struct workqueue_struct *wq) in wq_free_lockdep()
4895 struct workqueue_struct *wq = in rcu_free_wq()
4896 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
5068 struct workqueue_struct *wq = pwq->wq; in pwq_release_workfn()
5118 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
5139 struct workqueue_struct *wq = pwq->wq; in link_pwq()
5155 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
5216 static struct pool_workqueue *install_unbound_pwq(struct workqueue_struct *wq, in install_unbound_pwq()
5235 struct workqueue_struct *wq; /* target workqueue */
5260 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
5355 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
5390 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
5421 static void unbound_wq_update_pwq(struct workqueue_struct *wq, int cpu) in unbound_wq_update_pwq()
5471 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
5554 static int init_rescuer(struct workqueue_struct *wq) in init_rescuer()
5602 static void wq_adjust_max_active(struct workqueue_struct *wq) in wq_adjust_max_active()
5658 static struct workqueue_struct *__alloc_workqueue(const char *fmt, in __alloc_workqueue()
5662 struct workqueue_struct *wq; in __alloc_workqueue()
5778 struct workqueue_struct *alloc_workqueue(const char *fmt, in alloc_workqueue()
5782 struct workqueue_struct *wq; in alloc_workqueue()
5799 struct workqueue_struct *
5803 struct workqueue_struct *wq; in alloc_workqueue_lockdep_map()
5841 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
5933 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
5970 void workqueue_set_min_active(struct workqueue_struct *wq, int min_active) in workqueue_set_min_active()
6033 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
6130 struct workqueue_struct *wq = NULL; in print_worker_info()
6308 void show_one_workqueue(struct workqueue_struct *wq) in show_one_workqueue()
6404 struct workqueue_struct *wq; in show_all_workqueues()
6429 struct workqueue_struct *wq; in show_freezable_workqueues()
6646 struct workqueue_struct *wq; in workqueue_online_cpu()
6689 struct workqueue_struct *wq; in workqueue_offline_cpu()
6801 struct workqueue_struct *wq; in freeze_workqueues_begin()
6833 struct workqueue_struct *wq; in freeze_workqueues_busy()
6874 struct workqueue_struct *wq; in thaw_workqueues()
6899 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
6981 struct workqueue_struct *wq; in wq_affn_dfl_set()
7035 struct workqueue_struct *wq;
7039 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
7049 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
7058 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
7067 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
7088 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
7099 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
7116 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
7141 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
7155 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
7178 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affn_scope_show()
7198 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affn_scope_store()
7220 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affinity_strict_show()
7230 struct workqueue_struct *wq = dev_to_wq(dev); in wq_affinity_strict_store()
7381 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
7439 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
7450 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()
7890 struct workqueue_struct *wq; in workqueue_init()
8012 struct workqueue_struct *wq; in workqueue_init_topology()