Searched refs:MEM_REGION_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 25 #define MEM_REGION_SIZE 0x200000 macro 122 MEM_REGION_SIZE / getpagesize(), 0); in spawn_vm() 275 MEM_REGION_SIZE / getpagesize(), 0); in test_delete_memory_region() 358 (max_mem_slots - 1), MEM_REGION_SIZE >> 10); in test_add_max_memory_regions() 368 ((uint64_t)slot * MEM_REGION_SIZE), in test_add_max_memory_regions() 369 MEM_REGION_SIZE, in test_add_max_memory_regions() 370 mem_aligned + (uint64_t)slot * MEM_REGION_SIZE); in test_add_max_memory_regions() 373 mem_extra = mmap(NULL, MEM_REGION_SIZE, PROT_READ | PROT_WRITE, in test_add_max_memory_regions() 378 (uint64_t)max_mem_slots * MEM_REGION_SIZE, in test_add_max_memory_regions() 379 MEM_REGION_SIZE, mem_extra); in test_add_max_memory_regions() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | smaller_maxphyaddr_emulation_test.c | 22 #define MEM_REGION_SIZE PAGE_SIZE macro 74 MEM_REGION_SIZE / PAGE_SIZE, 0); in main() 75 gpa = vm_phy_pages_alloc(vm, MEM_REGION_SIZE / PAGE_SIZE, in main()
|