Lines Matching refs:work
115 typedef void (*kthread_work_func_t)(struct kthread_work *work);
140 struct kthread_work work; member
144 #define KTHREAD_WORK_INIT(work, fn) { \ argument
145 .node = LIST_HEAD_INIT((work).node), \
150 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
155 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
156 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
171 #define kthread_init_work(work, fn) \ argument
173 memset((work), 0, sizeof(struct kthread_work)); \
174 INIT_LIST_HEAD(&(work)->node); \
175 (work)->func = (fn); \
180 kthread_init_work(&(dwork)->work, (fn)); \
197 struct kthread_work *work);
207 void kthread_flush_work(struct kthread_work *work);
210 bool kthread_cancel_work_sync(struct kthread_work *work);
211 bool kthread_cancel_delayed_work_sync(struct kthread_delayed_work *work);