Home
last modified time | relevance | path

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

/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c214 struct task_struct *bpf_task_from_pid(s32 pid) __ksym __weak;
563 if (!bpf_task_from_pid) in contention_begin()
566 task = bpf_task_from_pid(owner_pid); in contention_begin()
718 if (!bpf_task_from_pid) in contention_end()
721 task = bpf_task_from_pid(otdata->pid); in contention_end()
/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_success.c287 acquired = bpf_task_from_pid(p->pid); in lookup_compare_pid()
322 acquired = bpf_task_from_pid(pid); in is_pid_lookup_valid()
H A Dverifier_kfunc_prog_types.c24 ref_1 = bpf_task_from_pid(current->pid); in task_kfunc_load_test()
/linux/tools/testing/selftests/sched_ext/
H A Ddsp_local_on.bpf.c42 p = bpf_task_from_pid(pid); in BPF_STRUCT_OPS()
/linux/tools/sched_ext/
H A Dscx_central.bpf.c144 p = bpf_task_from_pid(pid); in dispatch_to_cpu()
H A Dscx_qmap.bpf.c387 p = bpf_task_from_pid(2); in BPF_STRUCT_OPS()
420 p = bpf_task_from_pid(pid); in BPF_STRUCT_OPS()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h333 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
/linux/kernel/bpf/
H A Dhelpers.c2676 __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) in bpf_task_from_pid() function
4426 BTF_ID_FLAGS(func, bpf_task_from_pid, KF_ACQUIRE | KF_RET_NULL)