Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_BLOOM_FILTER (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbloom_filter_map.c16 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 4, sizeof(value), 100, NULL); in test_fail_cases()
21 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, 0, 100, NULL); in test_fail_cases()
26 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, INT32_MAX, 100, NULL); in test_fail_cases()
31 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 0, NULL); in test_fail_cases()
37 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts); in test_fail_cases()
41 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, NULL); in test_fail_cases()
72 fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(value), 100, &opts); in test_success_cases()
111 inner_map_fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(*rand_vals), in test_inner_map()
/openbmc/linux/Documentation/bpf/
H A Dmap_bloom_filter.rst5 BPF_MAP_TYPE_BLOOM_FILTER title
9 - ``BPF_MAP_TYPE_BLOOM_FILTER`` was introduced in kernel version 5.16
11 ``BPF_MAP_TYPE_BLOOM_FILTER`` provides a BPF bloom filter map. Bloom
117 __uint(type, BPF_MAP_TYPE_BLOOM_FILTER);
152 return bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER,
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbloom_filter_map.c20 __uint(type, BPF_MAP_TYPE_BLOOM_FILTER);
H A Dbloom_filter_bench.c26 __uint(type, BPF_MAP_TYPE_BLOOM_FILTER);
/openbmc/linux/include/linux/
H A Dbpf_types.h133 BPF_MAP_TYPE(BPF_MAP_TYPE_BLOOM_FILTER, bloom_filter_map_ops)
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c331 case BPF_MAP_TYPE_BLOOM_FILTER: in probe_map_create()
H A Dlibbpf.c174 [BPF_MAP_TYPE_BLOOM_FILTER] = "bloom_filter",
/openbmc/linux/kernel/bpf/
H A Dsyscall.c197 map->map_type == BPF_MAP_TYPE_BLOOM_FILTER) { in bpf_map_update_value()
237 map->map_type == BPF_MAP_TYPE_BLOOM_FILTER) { in bpf_map_copy_value()
1148 if (attr->map_type != BPF_MAP_TYPE_BLOOM_FILTER && in map_create()
1210 case BPF_MAP_TYPE_BLOOM_FILTER: in map_create()
1479 if (map->map_type == BPF_MAP_TYPE_BLOOM_FILTER) { in map_lookup_elem()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h944 BPF_MAP_TYPE_BLOOM_FILTER, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h944 BPF_MAP_TYPE_BLOOM_FILTER, enumerator