Home
last modified time | relevance | path

Searched refs:bpf_this_cpu_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf.c47 rq = (struct rq *)bpf_this_cpu_ptr(&runqueues); in handler()
49 active = (int *)bpf_this_cpu_ptr(&bpf_prog_active); in handler()
Dmap_kptr_fail.c156 bpf_this_cpu_ptr(v->unref_ptr); in marked_as_untrusted_or_null()
192 bpf_this_cpu_ptr(unref_ptr); in inherit_untrusted_on_walk()
276 bpf_this_cpu_ptr(v->ref_ptr); in mark_ref_as_untrusted_or_null()
Dksym_race.c10 return *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); in ksym_fail()
Dtest_ksyms_btf_write_check.c40 active = bpf_this_cpu_ptr(&bpf_prog_active); in handler2()
Dread_bpf_task_storage_busy.c34 value = bpf_this_cpu_ptr(&bpf_task_storage_busy); in BPF_PROG()
Dtest_ksyms_module.c37 out_bpf_testmod_ksym = *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); in load()
/linux-6.1.9/kernel/bpf/
Dhelpers.c715 BPF_CALL_1(bpf_this_cpu_ptr, const void *, percpu_ptr) in BPF_CALL_1() argument
721 .func = bpf_this_cpu_ptr,