Home
last modified time | relevance | path

Searched refs:bloom (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dbloom_filter.c33 return h & bloom->bitset_mask; in hash()
38 struct bpf_bloom_filter *bloom = in bloom_map_peek_elem() local
44 if (!test_bit(h, bloom->bitset)) in bloom_map_peek_elem()
53 struct bpf_bloom_filter *bloom = in bloom_map_push_elem() local
62 set_bit(h, bloom->bitset); in bloom_map_push_elem()
99 struct bpf_bloom_filter *bloom; in bloom_map_alloc() local
146 bloom = bpf_map_area_alloc(sizeof(*bloom) + bitset_bytes, numa_node); in bloom_map_alloc()
148 if (!bloom) in bloom_map_alloc()
159 return &bloom->map; in bloom_map_alloc()
167 bpf_map_area_free(bloom); in bloom_map_free()
[all …]
/openbmc/linux/Documentation/bpf/
H A Dmap_bloom_filter.rst11 ``BPF_MAP_TYPE_BLOOM_FILTER`` provides a BPF bloom filter map. Bloom
13 quickly test whether an element exists in a set. In a bloom filter,
16 The bloom filter map does not have keys, only values. When the bloom
18 bloom filter map supports two operations:
24 bloom filter map and ``bpf_map_peek_elem`` to query the map. These
34 into the bloom filter than ``max_entries``, this may lead to a higher
43 It is not possible to delete elements from a bloom filter map. A bloom
61 A ``value`` can be added to a bloom filter using the
63 ``BPF_ANY`` when adding an entry to the bloom filter. This helper
112 This snippet shows how to declare a bloom filter in a BPF program:
[all …]
H A Dmaps.rst8 hash, array, bloom filter and radix-tree. Several of the map types exist to
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A Dsuricata.yaml538 # For B2g the different scan/search algorithms and, hash and bloom
540 # and bloom filter size settings. For wumanber the hash and bloom filter size
/openbmc/linux/Documentation/filesystems/
H A Derofs.rst61 - Support a bloom filter that speeds up negative extended attribute lookups;