Lines Matching refs:work
76 struct work_struct work; member
91 struct work_struct work; member
109 to_delayed_work(struct work_struct *work) in to_delayed_work() argument
111 return (container_of(work, struct delayed_work, work)); in to_delayed_work()
114 #define INIT_WORK(work, fn) \ argument
116 (work)->func = (fn); \
117 (work)->work_queue = NULL; \
118 atomic_set(&(work)->state, 0); \
119 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \
123 INIT_WORK(&(_work)->work, (_fn))
125 #define INIT_WORK_ONSTACK(work, fn) \ argument
126 INIT_WORK(work, fn)
140 #define queue_work(wq, work) \ argument
141 linux_queue_work_on(WORK_CPU_UNBOUND, wq, work)
143 #define schedule_work(work) \ argument
144 linux_queue_work_on(WORK_CPU_UNBOUND, system_wq, work)
152 #define queue_work_on(cpu, wq, work) \ argument
153 linux_queue_work_on(cpu, wq, work)
191 linux_work_pending(&(dwork)->work)
196 #define cancel_work_sync(work) \ argument
197 linux_cancel_work_sync(work)
202 #define flush_work(work) \ argument
203 linux_flush_work(work)
214 #define work_pending(work) \ argument
215 linux_work_pending(work)
217 #define work_busy(work) \ argument
218 linux_work_busy(work)
220 #define destroy_work_on_stack(work) \ argument