Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf.c35 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
38 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
42 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in handler()
Dpercpu_alloc_array.c64 v = bpf_per_cpu_ptr(p, 0); in BPF_PROG()
97 v = bpf_per_cpu_ptr(p, i); in BPF_PROG()
163 v = bpf_per_cpu_ptr(p, 0); in BPF_PROG()
175 v = bpf_per_cpu_ptr(p, i); in BPF_PROG()
Dtest_ksyms_btf_null_check.c19 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler()
20 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
Dtest_ksyms_weak.c42 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in pass_handler()
54 out__non_existent_typed = (__u64)bpf_per_cpu_ptr(&bpf_link_fops2, 0); in pass_handler()
Dpercpu_alloc_cgrp_local_storage.c64 v = bpf_per_cpu_ptr(p, 0); in BPF_PROG()
98 v = bpf_per_cpu_ptr(p, i); in BPF_PROG()
Dtest_d_path_check_rdonly_mem.c18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
Dtest_ksyms_btf_write_check.c17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler1()
Dtest_d_path_check_types.c22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
Dkfunc_call_test_subprog.c21 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, in f1()
Dbtf_type_tag_percpu.c59 rstat = (struct cgroup_rstat_cpu *)bpf_per_cpu_ptr(cgrp->rstat_cpu, cpu); in BPF_PROG()
/linux-6.14.4/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c597 struct rq *rq = bpf_per_cpu_ptr(&runqueues, i); in BPF_PROG()
/linux-6.14.4/kernel/bpf/
Dhelpers.c713 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument
722 .func = bpf_per_cpu_ptr,