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()
109 struct callback_head *
111 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() argument
114 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()
115 struct callback_head *work; in task_work_cancel_match()
140 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match()
156 struct callback_head *
162 static bool task_work_match(struct callback_head *cb, void *data) in task_work_match()
177 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel()
179 struct callback_head *ret; in task_work_cancel()
197 struct callback_head *work, *head, *next; in task_work_run()