Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/progs/
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()
Dtask_kfunc_common.h25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
Dtask_kfunc_failure.c242 acquired = bpf_task_from_pid(task->pid); in BPF_PROG()
/linux-6.6.21/Documentation/bpf/
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,
/linux-6.6.21/kernel/bpf/
Dhelpers.c2228 __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) in bpf_task_from_pid() function
2482 BTF_ID_FLAGS(func, bpf_task_from_pid, KF_ACQUIRE | KF_RET_NULL)