Searched refs:task_works (Results 1 – 7 of 7) sorted by relevance
38 head = READ_ONCE(task->task_works); in task_work_add()42 } while (cmpxchg(&task->task_works, head, work) != head); in task_work_add()74 struct callback_head **pprev = &task->task_works; in task_work_cancel_match()78 if (likely(!task->task_works)) in task_work_cancel_match()140 work = READ_ONCE(task->task_works); in task_work_run()147 } while (cmpxchg(&task->task_works, work, head) != work); in task_work_run()
2265 if (unlikely(current->task_works)) in ptrace_notify()2523 if (unlikely(current->task_works)) in get_signal()
2229 p->task_works = NULL; in copy_process()
187 if (unlikely(current->task_works)) in tracehook_notify_resume()210 if (current->task_works) in tracehook_notify_signal()
1126 struct callback_head *task_works; member
516 if (test_thread_flag(TIF_NOTIFY_SIGNAL) || current->task_works) { in io_flush_signals()
2473 if (test_thread_flag(TIF_NOTIFY_SIGNAL) || current->task_works) { in io_run_task_work()7507 if (!io_sqd_events_pending(sqd) && !current->task_works) { in io_sq_thread()10154 req->task->task_works != NULL); in __io_uring_show_fdinfo()