Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
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_btf_write_check.c17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
Dtest_d_path_check_rdonly_mem.c18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
Dtest_d_path_check_types.c22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c628 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument
637 .func = bpf_per_cpu_ptr,