Lines Matching full:work
74 struct work_struct work; member
89 struct work_struct work; member
107 to_delayed_work(struct work_struct *work) in to_delayed_work() argument
109 return (container_of(work, struct delayed_work, work)); in to_delayed_work()
112 #define INIT_WORK(work, fn) \ argument
114 (work)->func = (fn); \
115 (work)->work_queue = NULL; \
116 atomic_set(&(work)->state, 0); \
117 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \
121 INIT_WORK(&(_work)->work, (_fn))
123 #define INIT_WORK_ONSTACK(work, fn) \ argument
124 INIT_WORK(work, fn)
138 #define queue_work(wq, work) \ argument
139 linux_queue_work_on(WORK_CPU_UNBOUND, wq, work)
141 #define schedule_work(work) \ argument
142 linux_queue_work_on(WORK_CPU_UNBOUND, system_wq, work)
150 #define queue_work_on(cpu, wq, work) \ argument
151 linux_queue_work_on(cpu, wq, work)
189 linux_work_pending(&(dwork)->work)
191 #define cancel_work(work) \ argument
192 linux_cancel_work(work)
197 #define cancel_work_sync(work) \ argument
198 linux_cancel_work_sync(work)
203 #define flush_work(work) \ argument
204 linux_flush_work(work)
215 #define work_pending(work) \ argument
216 linux_work_pending(work)
218 #define work_busy(work) \ argument
219 linux_work_busy(work)
221 #define destroy_work_on_stack(work) \ argument