Lines Matching refs:create_map
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()
446 lru_map_fd = create_map(map_type, map_flags, in test_lru_sanity4()
449 lru_map_fd = create_map(map_type, map_flags, 3 * tgt_free); in test_lru_sanity4()
452 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, in test_lru_sanity4()
522 map_fd = create_map(map_type, map_flags, 1); in test_lru_sanity5()
572 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity6()
575 lru_map_fd = create_map(map_type, map_flags, map_size * nr_cpus); in test_lru_sanity6()