Searched refs:bpf_per_cpu_ptr (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_ksyms_btf.c | 35 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()
|
D | test_ksyms_btf_null_check.c | 19 rq = (struct rq *)bpf_per_cpu_ptr(&runqueues, cpu); in handler() 20 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
|
/Linux-v5.10/kernel/bpf/ |
D | helpers.c | 626 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument 635 .func = bpf_per_cpu_ptr,
|