Lines Matching refs:workqueue_struct
179 struct workqueue_struct *wq; /* I: the owning workqueue */
223 struct workqueue_struct { struct
251 struct workqueue_struct *system_wq __read_mostly; argument
252 struct workqueue_struct *system_long_wq __read_mostly;
253 struct workqueue_struct *system_nrt_wq __read_mostly;
254 struct workqueue_struct *system_unbound_wq __read_mostly;
255 struct workqueue_struct *system_freezable_wq __read_mostly;
256 struct workqueue_struct *system_nrt_freezable_wq __read_mostly;
287 struct workqueue_struct *wq) in __next_wq_cpu()
476 struct workqueue_struct *wq) in get_cwq()
957 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
984 static void __queue_work(unsigned int cpu, struct workqueue_struct *wq, in __queue_work()
1069 int queue_work(struct workqueue_struct *wq, struct work_struct *work) in queue_work()
1092 queue_work_on(int cpu, struct workqueue_struct *wq, struct work_struct *work) in queue_work_on()
1120 int queue_delayed_work(struct workqueue_struct *wq, in queue_delayed_work()
1139 int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
1493 struct workqueue_struct *wq = cwq->wq; in send_mayday()
2031 struct workqueue_struct *wq = __wq; in rescuer_thread()
2190 static bool flush_workqueue_prep_cwqs(struct workqueue_struct *wq, in flush_workqueue_prep_cwqs()
2241 void flush_workqueue(struct workqueue_struct *wq) in flush_workqueue()
2398 void drain_workqueue(struct workqueue_struct *wq) in drain_workqueue()
2892 static int alloc_cwqs(struct workqueue_struct *wq) in alloc_cwqs()
2930 static void free_cwqs(struct workqueue_struct *wq) in free_cwqs()
2959 struct workqueue_struct *__alloc_workqueue_key(const char *fmt, in __alloc_workqueue_key()
2966 struct workqueue_struct *wq; in __alloc_workqueue_key()
3078 void destroy_workqueue(struct workqueue_struct *wq) in destroy_workqueue()
3125 void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) in workqueue_set_max_active()
3163 bool workqueue_congested(unsigned int cpu, struct workqueue_struct *wq) in workqueue_congested()
3666 struct workqueue_struct *wq; in freeze_workqueues_begin()
3709 struct workqueue_struct *wq; in freeze_workqueues_busy()
3752 struct workqueue_struct *wq; in thaw_workqueues()