Searched refs:bpf_map_peek_elem (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/Documentation/bpf/ |
H A D | map_bloom_filter.rst | 24 bloom filter map and ``bpf_map_peek_elem`` to query the map. These 66 bpf_map_peek_elem() 71 long bpf_map_peek_elem(struct bpf_map *map, void *value) 73 The ``bpf_map_peek_elem()`` helper is used to determine whether 130 if (bpf_map_peek_elem(&bloom_filter, &key) == 0) {
|
H A D | map_queue_stack.rst | 45 bpf_map_peek_elem() 50 long bpf_map_peek_elem(struct bpf_map *map, void *value)
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bloom_filter_bench.c | 79 err = bpf_map_peek_elem(data->map, val); in bloom_callback() 130 err = bpf_map_peek_elem(&bloom_map, in bloom_hashmap_lookup()
|
H A D | bloom_filter_map.c | 46 err = bpf_map_peek_elem(data->map, val); in check_elem()
|
H A D | test_map_ops.c | 98 err = bpf_map_peek_elem(&stack_map, &val); in map_peek()
|
/openbmc/linux/kernel/bpf/ |
H A D | helpers.c | 116 BPF_CALL_2(bpf_map_peek_elem, struct bpf_map *, map, void *, value) in BPF_CALL_2() argument 122 .func = bpf_map_peek_elem,
|