Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_spin_lock_fail.c42 bpf_this_cpu_ptr(f); in lock_id_kptr_preserve()
49 bpf_this_cpu_ptr(&lockA); in lock_id_global_zero()
62 bpf_this_cpu_ptr(f); in lock_id_mapval_preserve()
79 bpf_this_cpu_ptr(f); in lock_id_innermapval_preserve()
H A 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()
H A Dpercpu_alloc_array.c158 v = bpf_this_cpu_ptr(p); in BPF_PROG()
160 v = bpf_this_cpu_ptr(p); in BPF_PROG()
H A Dmap_kptr_fail.c162 bpf_this_cpu_ptr(v->unref_ptr); in marked_as_untrusted_or_null()
200 bpf_this_cpu_ptr(unref_ptr); in inherit_untrusted_on_walk()
230 bpf_this_cpu_ptr(v->ref_ptr); in mark_ref_as_untrusted_or_null()
H A Dksym_race.c10 return *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); in ksym_fail()
H A Dtest_ksyms_btf_write_check.c39 active = bpf_this_cpu_ptr(&bpf_prog_active); in handler2()
H A Dread_bpf_task_storage_busy.c33 value = bpf_this_cpu_ptr(&bpf_task_storage_busy); in BPF_PROG()
H A Dtest_ksyms_module.c37 out_bpf_testmod_ksym = *(int *)bpf_this_cpu_ptr(&bpf_testmod_ksym_percpu); in load()
H A Dpercpu_alloc_fail.c107 v = bpf_this_cpu_ptr(p); in BPF_PROG()
H A Dlinked_list_fail.c283 bpf_this_cpu_ptr(p->ptr); in ptr_walk_scalar()
H A Ddynptr_fail.c980 bpf_this_cpu_ptr(p); in dynptr_invalidate_slice_or_null()
/linux/kernel/bpf/
H A Dhelpers.c729 BPF_CALL_1(bpf_this_cpu_ptr, const void *, percpu_ptr) in BPF_CALL_1() argument
735 .func = bpf_this_cpu_ptr,