Home
last modified time | relevance | path

Searched refs:nr_hash_funcs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/kernel/bpf/
Dbloom_filter.c19 u32 nr_hash_funcs; member
42 for (i = 0; i < bloom->nr_hash_funcs; i++) { in bloom_map_peek_elem()
60 for (i = 0; i < bloom->nr_hash_funcs; i++) { in bloom_map_push_elem()
97 u32 bitset_bytes, bitset_mask, nr_hash_funcs, nr_bits; in bloom_map_alloc() local
111 nr_hash_funcs = attr->map_extra; in bloom_map_alloc()
112 if (nr_hash_funcs == 0) in bloom_map_alloc()
114 nr_hash_funcs = 5; in bloom_map_alloc()
127 if (check_mul_overflow(attr->max_entries, nr_hash_funcs, &nr_bits) || in bloom_map_alloc()
153 bloom->nr_hash_funcs = nr_hash_funcs; in bloom_map_alloc()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_bloom_filter_map.c40 __u8 nr_hash_funcs; member
44 .nr_hash_funcs = 3,
84 args.nr_hash_funcs = ret; in parse_arg()
291 bpf_map__set_map_extra(skel->maps.bloom_map, args.nr_hash_funcs); in setup_skeleton()