Searched refs:rand_vals (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | bloom_filter_map.c | 104 static void test_inner_map(struct bloom_filter_map *skel, const __u32 *rand_vals, in test_inner_map() argument 111 inner_map_fd = bpf_map_create(BPF_MAP_TYPE_BLOOM_FILTER, NULL, 0, sizeof(*rand_vals), in test_inner_map() 117 err = bpf_map_update_elem(inner_map_fd, NULL, rand_vals + i, BPF_ANY); in test_inner_map() 153 __u32 *rand_vals = NULL; in setup_progs() local 164 rand_vals = malloc(sizeof(*rand_vals) * map_size); in setup_progs() 165 if (!rand_vals) { in setup_progs() 184 rand_vals[i] = val; in setup_progs() 188 *out_rand_vals = rand_vals; in setup_progs() 195 if (rand_vals) in setup_progs() 196 free(rand_vals); in setup_progs() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | bloom_filter_bench.c | 14 __u8 rand_vals[2500000]; variable 131 rand_vals + index); in bloom_hashmap_lookup() 143 rand_vals + index); in bloom_hashmap_lookup()
|
/linux-6.12.1/tools/testing/selftests/bpf/benchs/ |
D | bench_bloom_filter_map.c | 233 nr_rand_bytes = syscall(__NR_getrandom, ctx.skel->bss->rand_vals, in populate_maps()
|