Home
last modified time | relevance | path

Searched refs:create_map (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c28 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function
173 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
175 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0()
178 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity0()
273 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1()
276 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity1()
342 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity2()
345 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity2()
446 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity3()
449 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity3()
[all …]
/linux/samples/bpf/
H A Dtest_lru_dist.c202 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function
317 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist()
320 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist()
346 map_fd = create_map(map_type, map_flags, 900 * nr_cpus); in test_lru_loss0()
348 map_fd = create_map(map_type, map_flags, 900); in test_lru_loss0()
398 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus); in test_lru_loss1()
400 map_fd = create_map(map_type, map_flags, 1000); in test_lru_loss1()
474 map_fd = create_map(map_type, map_flags, in test_parallel_lru_loss()
477 map_fd = create_map(map_type, map_flags, in test_parallel_lru_loss()
/linux/tools/perf/tests/
H A Dsymbols.c82 static int create_map(struct test_info *ti, char *filename, struct map **map_p) in create_map() function
178 ret = create_map(ti, filename, &map); in test_file()