Lines Matching defs:wq
65 #define WQ_EXEC_LOCK(wq) mtx_lock(&(wq)->exec_mtx)
66 #define WQ_EXEC_UNLOCK(wq) mtx_unlock(&(wq)->exec_mtx)
79 struct workqueue_struct *wq;
140 #define queue_work(wq, work) \
141 linux_queue_work_on(WORK_CPU_UNBOUND, wq, work)
146 #define queue_delayed_work(wq, dwork, delay) \
147 linux_queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay)
152 #define queue_work_on(cpu, wq, work) \
153 linux_queue_work_on(cpu, wq, work)
158 #define queue_delayed_work_on(cpu, wq, dwork, delay) \
159 linux_queue_delayed_work_on(cpu, wq, dwork, delay)
173 #define flush_workqueue(wq) \
174 taskqueue_drain_all((wq)->taskqueue)
176 #define drain_workqueue(wq) do { \
177 atomic_inc(&(wq)->draining); \
178 taskqueue_drain_all((wq)->taskqueue); \
179 atomic_dec(&(wq)->draining); \
182 #define mod_delayed_work(wq, dwork, delay) ({ \
186 wq, dwork, delay); \
205 #define queue_rcu_work(wq, rwork) \
206 linux_queue_rcu_work(wq, rwork)
226 #define destroy_workqueue(wq) \
227 linux_destroy_workqueue(wq)
256 extern bool linux_queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);