Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_send_signal_kern.c7 struct task_struct *bpf_task_from_pid(int pid) __ksym;
24 target_task = bpf_task_from_pid(target_pid); in bpf_send_signal_test()
H A Dtask_ls_uptr.c8 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
34 data_task = bpf_task_from_pid(parent_pid); in on_enter()
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 Dtask_kfunc_common.h25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
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 Denq_select_cpu.bpf.c52 p = bpf_task_from_pid(input->pid); in select_cpu_from_user()
H A Ddsp_local_on.bpf.c42 p = bpf_task_from_pid(pid); in BPF_STRUCT_OPS()
H A Dallowed_cpus.bpf.c124 p = bpf_task_from_pid(input->pid); in select_cpu_from_user()
/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.c386 p = bpf_task_from_pid(2); in BPF_STRUCT_OPS()
419 p = bpf_task_from_pid(pid); in BPF_STRUCT_OPS()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h318 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
/linux/kernel/bpf/
H A Dhelpers.c2616 __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) in bpf_task_from_pid() function
3740 BTF_ID_FLAGS(func, bpf_task_from_pid, KF_ACQUIRE | KF_RET_NULL)