Searched refs:create_map (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 30 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function 110 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0() 112 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0() 115 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity0() 207 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1() 210 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity1() 284 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity2() 287 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity2() 390 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity3() 393 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity3() [all …]
|
D | test_verifier.c | 12526 static int create_map(uint32_t type, uint32_t size_key, in create_map() function 12653 map_fds[0] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup() 12662 map_fds[1] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup() 12671 map_fds[2] = create_map(BPF_MAP_TYPE_HASH, sizeof(long long), in do_test_fixup() 12680 map_fds[3] = create_map(BPF_MAP_TYPE_ARRAY, sizeof(int), in do_test_fixup()
|
/Linux-v4.19/samples/bpf/ |
D | test_lru_dist.c | 211 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function 323 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist() 326 lru_map_fd = create_map(map_type, map_flags, in test_parallel_lru_dist() 352 map_fd = create_map(map_type, map_flags, 900 * nr_cpus); in test_lru_loss0() 354 map_fd = create_map(map_type, map_flags, 900); in test_lru_loss0() 404 map_fd = create_map(map_type, map_flags, 1000 * nr_cpus); in test_lru_loss1() 406 map_fd = create_map(map_type, map_flags, 1000); in test_lru_loss1() 480 map_fd = create_map(map_type, map_flags, in test_parallel_lru_loss() 483 map_fd = create_map(map_type, map_flags, in test_parallel_lru_loss()
|