Home
last modified time | relevance | path

Searched refs:bpf_task_from_pid (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_success.c235 acquired = bpf_task_from_pid(p->pid); in lookup_compare_pid()
270 acquired = bpf_task_from_pid(pid); in is_pid_lookup_valid()
H A Dtask_kfunc_common.h25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
H A Dtask_kfunc_failure.c242 acquired = bpf_task_from_pid(task->pid); in BPF_PROG()
/openbmc/linux/Documentation/bpf/
H A Dkfuncs.rst566 :identifiers: bpf_task_from_pid
577 lookup = bpf_task_from_pid(task->pid);
583 /* bpf_task_from_pid() looks up the task via its
592 /* bpf_task_from_pid() returns an acquired reference,
/openbmc/linux/kernel/bpf/
H A Dhelpers.c2304 __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) in bpf_task_from_pid() function
2558 BTF_ID_FLAGS(func, bpf_task_from_pid, KF_ACQUIRE | KF_RET_NULL)