Lines Matching refs:callback_head
7 static struct callback_head work_exited; /* all we need is ->next == NULL */
54 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
57 struct callback_head *head; in task_work_add()
121 struct callback_head *
123 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
126 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
127 struct callback_head *work; in task_work_cancel_match()
152 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
168 struct callback_head *
174 static bool task_work_match(struct callback_head *cb, void *data) in task_work_match()
189 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel()
191 struct callback_head *ret; in task_work_cancel()
209 struct callback_head *work, *head, *next; in task_work_run()