Lines Matching refs:workqueue_struct
203 struct workqueue_struct *wq; /* I: the owning workqueue */
240 struct workqueue_struct { struct
340 struct workqueue_struct *system_wq __read_mostly;
342 struct workqueue_struct *system_highpri_wq __read_mostly;
344 struct workqueue_struct *system_long_wq __read_mostly;
346 struct workqueue_struct *system_unbound_wq __read_mostly;
348 struct workqueue_struct *system_freezable_wq __read_mostly;
350 struct workqueue_struct *system_power_efficient_wq __read_mostly;
352 struct workqueue_struct *system_freezable_power_efficient_wq __read_mostly;
356 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
562 static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, in unbound_pwq_by_node()
1340 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1385 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1501 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1528 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1572 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
1610 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
1887 struct workqueue_struct *wq = pwq->wq; in send_mayday()
2322 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
2453 static void check_flush_dependency(struct workqueue_struct *target_wq, in check_flush_dependency()
2588 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
2635 void flush_workqueue(struct workqueue_struct *wq) in flush_workqueue()
2797 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
3293 struct workqueue_struct *wq = in rcu_free_wq()
3294 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
3464 struct workqueue_struct *wq = pwq->wq; in pwq_unbound_release_workfn()
3500 struct workqueue_struct *wq = pwq->wq; in pwq_adjust_max_active()
3539 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
3559 struct workqueue_struct *wq = pwq->wq; in link_pwq()
3578 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
3653 static struct pool_workqueue *numa_pwq_tbl_install(struct workqueue_struct *wq, in numa_pwq_tbl_install()
3672 struct workqueue_struct *wq; /* target workqueue */
3697 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
3802 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
3846 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
3880 static void wq_update_unbound_numa(struct workqueue_struct *wq, int cpu, in wq_update_unbound_numa()
3943 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
3990 struct workqueue_struct *__alloc_workqueue_key(const char *fmt, in __alloc_workqueue_key()
3998 struct workqueue_struct *wq; in __alloc_workqueue_key()
4113 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
4211 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
4282 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
4380 struct workqueue_struct *wq = NULL; in print_worker_info()
4517 struct workqueue_struct *wq; in show_workqueue_state()
4778 struct workqueue_struct *wq; in workqueue_online_cpu()
4805 struct workqueue_struct *wq; in workqueue_offline_cpu()
4900 struct workqueue_struct *wq; in freeze_workqueues_begin()
4934 struct workqueue_struct *wq; in freeze_workqueues_busy()
4975 struct workqueue_struct *wq; in thaw_workqueues()
5002 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
5090 struct workqueue_struct *wq;
5094 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
5104 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
5113 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
5122 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
5143 struct workqueue_struct *wq = dev_to_wq(dev); in wq_pool_ids_show()
5163 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
5174 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
5191 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
5216 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
5230 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
5253 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_show()
5267 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_store()
5370 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
5429 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
5440 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()
5724 struct workqueue_struct *wq; in workqueue_init()