Lines Matching refs:workqueue_struct

200 	struct workqueue_struct *wq;		/* I: the owning workqueue */
237 struct workqueue_struct { struct
319 struct workqueue_struct *system_wq __read_mostly;
321 struct workqueue_struct *system_highpri_wq __read_mostly;
323 struct workqueue_struct *system_long_wq __read_mostly;
325 struct workqueue_struct *system_unbound_wq __read_mostly;
327 struct workqueue_struct *system_freezable_wq __read_mostly;
329 struct workqueue_struct *system_power_efficient_wq __read_mostly;
331 struct workqueue_struct *system_freezable_power_efficient_wq __read_mostly;
335 static void workqueue_sysfs_unregister(struct workqueue_struct *wq);
567 static struct pool_workqueue *unbound_pwq_by_node(struct workqueue_struct *wq, in unbound_pwq_by_node()
1324 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1336 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1448 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1475 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1520 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
1558 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
1835 struct workqueue_struct *wq = pwq->wq; in send_mayday()
2250 struct workqueue_struct *wq = rescuer->rescue_wq; in rescuer_thread()
2463 static bool flush_workqueue_prep_pwqs(struct workqueue_struct *wq, in flush_workqueue_prep_pwqs()
2510 void flush_workqueue(struct workqueue_struct *wq) in flush_workqueue()
2667 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
3139 struct workqueue_struct *wq = in rcu_free_wq()
3140 container_of(rcu, struct workqueue_struct, rcu); in rcu_free_wq()
3310 struct workqueue_struct *wq = pwq->wq; in pwq_unbound_release_workfn()
3346 struct workqueue_struct *wq = pwq->wq; in pwq_adjust_max_active()
3383 static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, in init_pwq()
3403 struct workqueue_struct *wq = pwq->wq; in link_pwq()
3422 static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, in alloc_unbound_pwq()
3490 static struct pool_workqueue *numa_pwq_tbl_install(struct workqueue_struct *wq, in numa_pwq_tbl_install()
3509 struct workqueue_struct *wq; /* target workqueue */
3534 apply_wqattrs_prepare(struct workqueue_struct *wq, in apply_wqattrs_prepare()
3639 static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, in apply_workqueue_attrs_locked()
3682 int apply_workqueue_attrs(struct workqueue_struct *wq, in apply_workqueue_attrs()
3716 static void wq_update_unbound_numa(struct workqueue_struct *wq, int cpu, in wq_update_unbound_numa()
3779 static int alloc_and_link_pwqs(struct workqueue_struct *wq) in alloc_and_link_pwqs()
3826 struct workqueue_struct *__alloc_workqueue_key(const char *fmt, in __alloc_workqueue_key()
3834 struct workqueue_struct *wq; in __alloc_workqueue_key()
3939 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
4020 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
4074 bool workqueue_congested(int cpu, struct workqueue_struct *wq) in workqueue_congested()
4172 struct workqueue_struct *wq = NULL; in print_worker_info()
4308 struct workqueue_struct *wq; in show_workqueue_state()
4553 struct workqueue_struct *wq; in workqueue_cpu_up_callback()
4601 struct workqueue_struct *wq; in workqueue_cpu_down_callback()
4677 struct workqueue_struct *wq; in freeze_workqueues_begin()
4711 struct workqueue_struct *wq; in freeze_workqueues_busy()
4752 struct workqueue_struct *wq; in thaw_workqueues()
4779 struct workqueue_struct *wq; in workqueue_apply_unbound_cpumask()
4867 struct workqueue_struct *wq;
4871 static struct workqueue_struct *dev_to_wq(struct device *dev) in dev_to_wq()
4881 struct workqueue_struct *wq = dev_to_wq(dev); in per_cpu_show()
4890 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_show()
4899 struct workqueue_struct *wq = dev_to_wq(dev); in max_active_store()
4920 struct workqueue_struct *wq = dev_to_wq(dev); in wq_pool_ids_show()
4940 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_show()
4951 static struct workqueue_attrs *wq_sysfs_prep_attrs(struct workqueue_struct *wq) in wq_sysfs_prep_attrs()
4968 struct workqueue_struct *wq = dev_to_wq(dev); in wq_nice_store()
4993 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_show()
5007 struct workqueue_struct *wq = dev_to_wq(dev); in wq_cpumask_store()
5030 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_show()
5044 struct workqueue_struct *wq = dev_to_wq(dev); in wq_numa_store()
5147 int workqueue_sysfs_register(struct workqueue_struct *wq) in workqueue_sysfs_register()
5206 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) in workqueue_sysfs_unregister()
5217 static void workqueue_sysfs_unregister(struct workqueue_struct *wq) { } in workqueue_sysfs_unregister()