Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/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.c386 v = bpf_map_lookup_percpu_elem(&map, &key, 0); \
432 v = bpf_map_lookup_percpu_elem(&map, &key, 0); \
/openbmc/linux/kernel/bpf/
H A Dhelpers.c129 BPF_CALL_3(bpf_map_lookup_percpu_elem, struct bpf_map *, map, void *, key, u32, cpu) in BPF_CALL_3() argument
136 .func = bpf_map_lookup_percpu_elem,