Lines Matching refs:work
84 struct work_struct work; member
101 to_delayed_work(struct work_struct *work) in to_delayed_work() argument
103 return (container_of(work, struct delayed_work, work)); in to_delayed_work()
106 #define INIT_WORK(work, fn) \ argument
108 (work)->func = (fn); \
109 (work)->work_queue = NULL; \
110 atomic_set(&(work)->state, 0); \
111 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \
114 #define INIT_WORK_ONSTACK(work, fn) \ argument
115 INIT_WORK(work, fn)
129 #define queue_work(wq, work) \ argument
130 linux_queue_work_on(WORK_CPU_UNBOUND, wq, work)
132 #define schedule_work(work) \ argument
133 linux_queue_work_on(WORK_CPU_UNBOUND, system_wq, work)
141 #define queue_work_on(cpu, wq, work) \ argument
142 linux_queue_work_on(cpu, wq, work)
180 linux_work_pending(&(dwork)->work)
185 #define cancel_work_sync(work) \ argument
186 linux_cancel_work_sync(work)
191 #define flush_work(work) \ argument
192 linux_flush_work(work)
197 #define work_pending(work) \ argument
198 linux_work_pending(work)
200 #define work_busy(work) \ argument
201 linux_work_busy(work)
203 #define destroy_work_on_stack(work) \ argument