Lines Matching refs:create_map
28 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() function
160 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
162 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0()
165 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity0()
260 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1()
263 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity1()
337 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity2()
340 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity2()
443 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity3()
446 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity3()
499 lru_map_fd = create_map(map_type, map_flags, in test_lru_sanity4()
502 lru_map_fd = create_map(map_type, map_flags, 3 * tgt_free); in test_lru_sanity4()
505 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, in test_lru_sanity4()
574 map_fd = create_map(map_type, map_flags, 1); in test_lru_sanity5()
624 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); in test_lru_sanity6()
627 lru_map_fd = create_map(map_type, map_flags, map_size * nr_cpus); in test_lru_sanity6()
688 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity7()
690 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity7()
693 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity7()
779 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity8()
781 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity8()
784 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, 2); in test_lru_sanity8()