Lines Matching refs:callback_head
7 static struct callback_head work_exited; /* all we need is ->next == NULL */
59 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
62 struct callback_head *head; in task_work_add()
115 struct callback_head *
117 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
120 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
121 struct callback_head *work; in task_work_cancel_match()
146 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
162 struct callback_head *
168 static bool task_work_match(struct callback_head *cb, void *data) in task_work_match()
183 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel()
185 struct callback_head *ret; in task_work_cancel()
203 struct callback_head *work, *head, *next; in task_work_run()