Searched refs:bpf_map_lookup_percpu_elem (Results 1 – 7 of 7) sorted by relevance
/linux/Documentation/bpf/ |
H A D | map_array.rst | 74 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 D | map_hash.rst | 98 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 D | test_map_lookup_percpu_elem.c | 44 value = bpf_map_lookup_percpu_elem(ctx->map, &key, index); in read_percpu_elem_callback()
|
H A D | cgroup_hierarchical_stats.c | 93 pcpu_counter = bpf_map_lookup_percpu_elem(&percpu_attach_counters, in BPF_PROG()
|
H A D | map_kptr.c | 396 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 D | scx_qmap.bpf.c | 597 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 D | helpers.c | 130 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,
|