Searched refs:create_map (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/
H A Dtest_lru_map.c28 static int create_map(int map_type, int map_flags, unsigned int size) function
160 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus);
162 lru_map_fd = create_map(map_type, map_flags, 2);
165 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2);
260 lru_map_fd = create_map(map_type, map_flags, map_size);
263 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size);
337 lru_map_fd = create_map(map_type, map_flags, map_size);
340 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size);
443 lru_map_fd = create_map(map_type, map_flags, map_size);
446 expected_map_fd = create_map(BPF_MAP_TYPE_HAS
[all...]
H A Dtest_verifier.c563 static int create_map(uint32_t type, uint32_t size_key, function
1048 map_fds[0] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long),
1057 map_fds[1] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long),
1066 map_fds[2] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long),
1075 map_fds[3] = create_map(BPF_MAP_TYPE_ARRAY, sizeof(int),
1124 map_fds[9] = create_map(BPF_MAP_TYPE_SOCKMAP, sizeof(int),
1132 map_fds[10] = create_map(BPF_MAP_TYPE_SOCKHASH, sizeof(int),
1140 map_fds[11] = create_map(BPF_MAP_TYPE_XSKMAP, sizeof(int),
1148 map_fds[12] = create_map(BPF_MAP_TYPE_STACK_TRACE, sizeof(u32),
1215 map_fds[20] = create_map(BPF_MAP_TYPE_RINGBU
[all...]
/linux-master/samples/bpf/
H A Dtest_lru_dist.c202 static int create_map(int map_type, int map_flags, unsigned int size) function
317 lru_map_fd = create_map(map_type, map_flags,
320 lru_map_fd = create_map(map_type, map_flags,
346 map_fd = create_map(map_type, map_flags, 900 * nr_cpus);
348 map_fd = create_map(map_type, map_flags, 900);
398 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus);
400 map_fd = create_map(map_type, map_flags, 1000);
474 map_fd = create_map(map_type, map_flags,
477 map_fd = create_map(map_type, map_flags,
/linux-master/tools/perf/tests/
H A Dsymbols.c76 static int create_map(struct test_info *ti, char *filename, struct map **map_p) function
172 ret = create_map(ti, filename, &map);

Completed in 150 milliseconds