Searched refs:bpf_per_cpu_ptr (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/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()
|
D | test_ksyms_weak.c | 42 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()
|
D | test_d_path_check_rdonly_mem.c | 18 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
|
D | test_ksyms_btf_write_check.c | 17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler1()
|
D | test_d_path_check_types.c | 22 active = (void *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in BPF_PROG()
|
D | kfunc_call_test_subprog.c | 21 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, in f1()
|
D | btf_type_tag_percpu.c | 59 rstat = (struct cgroup_rstat_cpu *)bpf_per_cpu_ptr(cgrp->rstat_cpu, cpu); in BPF_PROG()
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | lock_contention.bpf.c | 441 struct rq *rq = bpf_per_cpu_ptr(&runqueues, i); in BPF_PROG()
|
/linux-6.6.21/kernel/bpf/ |
D | helpers.c | 711 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument 720 .func = bpf_per_cpu_ptr,
|