Searched refs:MEM_REGION_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/ |
D | set_memory_region_test.c | 25 #define MEM_REGION_SIZE 0x200000 macro 122 MEM_REGION_SIZE / getpagesize(), 0); in spawn_vm() 272 MEM_REGION_SIZE / getpagesize(), 0); in test_delete_memory_region() 359 (max_mem_slots - 1), MEM_REGION_SIZE >> 10); in test_add_max_memory_regions() 361 mem = mmap(NULL, (size_t)max_mem_slots * MEM_REGION_SIZE + alignment, in test_add_max_memory_regions() 369 ((uint64_t)slot * MEM_REGION_SIZE), in test_add_max_memory_regions() 370 MEM_REGION_SIZE, in test_add_max_memory_regions() 371 mem_aligned + (uint64_t)slot * MEM_REGION_SIZE); in test_add_max_memory_regions() 374 mem_extra = mmap(NULL, MEM_REGION_SIZE, PROT_READ | PROT_WRITE, in test_add_max_memory_regions() 379 (uint64_t)max_mem_slots * MEM_REGION_SIZE, in test_add_max_memory_regions() [all …]
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | emulator_error_test.c | 19 #define MEM_REGION_SIZE PAGE_SIZE macro 174 MEM_REGION_SIZE / PAGE_SIZE, 0); in main() 175 gpa = vm_phy_pages_alloc(vm, MEM_REGION_SIZE / PAGE_SIZE, in main()
|