Lines Matching refs:wq
63 #define WQ_EXEC_LOCK(wq) mtx_lock(&(wq)->exec_mtx) argument
64 #define WQ_EXEC_UNLOCK(wq) mtx_unlock(&(wq)->exec_mtx) argument
77 struct workqueue_struct *wq; member
138 #define queue_work(wq, work) \ argument
139 linux_queue_work_on(WORK_CPU_UNBOUND, wq, work)
144 #define queue_delayed_work(wq, dwork, delay) \ argument
145 linux_queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay)
150 #define queue_work_on(cpu, wq, work) \ argument
151 linux_queue_work_on(cpu, wq, work)
156 #define queue_delayed_work_on(cpu, wq, dwork, delay) \ argument
157 linux_queue_delayed_work_on(cpu, wq, dwork, delay)
171 #define flush_workqueue(wq) \ argument
172 taskqueue_drain_all((wq)->taskqueue)
174 #define drain_workqueue(wq) do { \ argument
175 atomic_inc(&(wq)->draining); \
176 taskqueue_drain_all((wq)->taskqueue); \
177 atomic_dec(&(wq)->draining); \
180 #define mod_delayed_work(wq, dwork, delay) ({ \ argument
184 wq, dwork, delay); \
206 #define queue_rcu_work(wq, rwork) \ argument
207 linux_queue_rcu_work(wq, rwork)
227 #define destroy_workqueue(wq) \ argument
228 linux_destroy_workqueue(wq)
258 extern bool linux_queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);