Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A 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()
A 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()
A Dtest_ksyms_weak.c39 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, 0); in pass_handler()
51 out__non_existent_typed = (__u64)bpf_per_cpu_ptr(&bpf_link_fops2, 0); in pass_handler()
A Dtest_d_path_check_rdonly_mem.c18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
A Dtest_d_path_check_types.c22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
A Dtest_ksyms_btf_write_check.c17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler1()
A Dbtf_type_tag_percpu.c59 rstat = (struct cgroup_rstat_cpu *)bpf_per_cpu_ptr(cgrp->rstat_cpu, cpu); in BPF_PROG()
A Dkfunc_call_test_subprog.c26 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, in f1()
/linux-6.3-rc2/kernel/bpf/
A Dhelpers.c705 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument
714 .func = bpf_per_cpu_ptr,

Completed in 16 milliseconds