Searched refs:task_works (Results 1 – 6 of 6) sorted by relevance
41 head = READ_ONCE(task->task_works); in task_work_add()45 } while (cmpxchg(&task->task_works, head, work) != head); in task_work_add()77 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()81 if (likely(!task->task_works)) in task_work_cancel_match()143 work = READ_ONCE(task->task_works); in task_work_run()150 } while (cmpxchg(&task->task_works, work, head) != work); in task_work_run()
2347 if (unlikely(current->task_works)) in ptrace_notify()2627 if (unlikely(current->task_works)) in get_signal()
2282 p->task_works = NULL; in copy_process()
188 if (unlikely(current->task_works)) in tracehook_notify_resume()213 if (current->task_works) in tracehook_notify_signal()
1091 struct callback_head *task_works; member
2414 if (test_thread_flag(TIF_NOTIFY_SIGNAL) || current->task_works) { in io_run_task_work()7441 if (!io_sqd_events_pending(sqd) && !current->task_works) { in io_sq_thread()10116 req->task->task_works != NULL); in __io_uring_show_fdinfo()