Searched refs:MEM_REGION_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 24 #define MEM_REGION_SIZE 0x200000 macro 121 MEM_REGION_SIZE / getpagesize(), 0); in spawn_vm() 292 MEM_REGION_SIZE / getpagesize(), 0); in test_delete_memory_region() 372 0, MEM_REGION_SIZE, NULL); in test_invalid_memory_region_flags() 381 0, MEM_REGION_SIZE, NULL, 0, 0); in test_invalid_memory_region_flags() 387 int guest_memfd = vm_create_guest_memfd(vm, MEM_REGION_SIZE, 0); in test_invalid_memory_region_flags() 391 0, MEM_REGION_SIZE, NULL, guest_memfd, 0); in test_invalid_memory_region_flags() 397 0, MEM_REGION_SIZE, NULL, guest_memfd, 0); in test_invalid_memory_region_flags() 434 (max_mem_slots - 1), MEM_REGION_SIZE >> 10); in test_add_max_memory_regions() 436 mem = mmap(NULL, (size_t)max_mem_slots * MEM_REGION_SIZE + alignment, in test_add_max_memory_regions() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | smaller_maxphyaddr_emulation_test.c | 19 #define MEM_REGION_SIZE PAGE_SIZE macro 68 MEM_REGION_SIZE / PAGE_SIZE, 0); in main() 69 gpa = vm_phy_pages_alloc(vm, MEM_REGION_SIZE / PAGE_SIZE, in main()
|