Home
last modified time | relevance | path

Searched refs:bpf_map_lookup_percpu_elem (Results 1 – 7 of 7) sorted by relevance

/linux/Documentation/bpf/
H A Dmap_array.rst74 bpf_map_lookup_percpu_elem()
79 void *bpf_map_lookup_percpu_elem(struct bpf_map *map, const void *key, u32 cpu)
81 The ``bpf_map_lookup_percpu_elem()`` helper can be used to lookup the array
H A Dmap_hash.rst98 bpf_map_lookup_percpu_elem()
103 void *bpf_map_lookup_percpu_elem(struct bpf_map *map, const void *key, u32 cpu)
105 The ``bpf_map_lookup_percpu_elem()`` helper can be used to lookup the
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_map_lookup_percpu_elem.c44 value = bpf_map_lookup_percpu_elem(ctx->map, &key, index); in read_percpu_elem_callback()
H A Dcgroup_hierarchical_stats.c93 pcpu_counter = bpf_map_lookup_percpu_elem(&percpu_attach_counters, in BPF_PROG()
H A Dmap_kptr.c396 v = bpf_map_lookup_percpu_elem(&map, &key, 0); \
442 v = bpf_map_lookup_percpu_elem(&map, &key, 0); \
/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c597 if (!(cpuc = bpf_map_lookup_percpu_elem(&cpu_ctx_stor, &zero, cpu))) in BPF_STRUCT_OPS()
720 if (!(cpuc = bpf_map_lookup_percpu_elem(&cpu_ctx_stor, &zero, i))) { in monitor_cpuperf()
/linux/kernel/bpf/
H A Dhelpers.c130 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3() argument
137 .func = bpf_map_lookup_percpu_elem,