Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
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 …]
Dtest_verifier.c563 static int create_map(uint32_t type, uint32_t size_key, in create_map() function
1048 map_fds[0] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
1057 map_fds[1] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
1066 map_fds[2] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup()
1075 map_fds[3] = create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in do_test_fixup()
1124 map_fds[9] = create_map(BPF_MAP_TYPE_SOCKMAP, sizeof(int), in do_test_fixup()
1132 map_fds[10] = create_map(BPF_MAP_TYPE_SOCKHASH, sizeof(int), in do_test_fixup()
1140 map_fds[11] = create_map(BPF_MAP_TYPE_XSKMAP, sizeof(int), in do_test_fixup()
1148 map_fds[12] = create_map(BPF_MAP_TYPE_STACK_TRACE, sizeof(u32), in do_test_fixup()
1215 map_fds[20] = create_map(BPF_MAP_TYPE_RINGBUF, 0, in do_test_fixup()
/tools/perf/tests/
Dsymbols.c76 static int create_map(struct test_info *ti, char *filename, struct map **map_p) in create_map() function
172 ret = create_map(ti, filename, &map); in test_file()