Searched refs:task_works (Results 1 - 5 of 5) sorted by relevance

/linux-master/kernel/
H A Dtask_work.c50 head = READ_ONCE(task->task_works);
55 } while (!try_cmpxchg(&task->task_works, &head, work));
91 struct callback_head **pprev = &task->task_works;
157 work = READ_ONCE(task->task_works);
166 } while (!try_cmpxchg(&task->task_works, &work, head));
172 * the first entry == work, cmpxchg(task_works) must fail.
H A Dfork.c2470 p->task_works = NULL;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dexhandler_kern.c28 /* To verify we hit an exception we dereference task->task_works->func.
30 * - task->task_works is non-NULL; and
31 * - task->task_works->func is non-NULL also (the callback function
34 * However, for a newly-created task, task->task_works is NULLed,
35 * so we know the exception handler triggered if task_works is
38 work = task->task_works;
/linux-master/include/linux/
H A Dtask_work.h25 return READ_ONCE(task->task_works);
H A Dsched.h1124 struct callback_head *task_works; member in struct:task_struct

Completed in 142 milliseconds