Searched refs:testarea (Results 1 – 1 of 1) sorted by relevance
572 void *testarea = NULL; in postcopy_ram_supported_by_host() local 632 testarea = mmap(NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | in postcopy_ram_supported_by_host() 634 if (testarea == MAP_FAILED) { in postcopy_ram_supported_by_host() 638 g_assert(QEMU_PTR_IS_ALIGNED(testarea, pagesize)); in postcopy_ram_supported_by_host() 640 reg_struct.range.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host() 649 range_struct.start = (uintptr_t)testarea; in postcopy_ram_supported_by_host() 668 if (testarea) { in postcopy_ram_supported_by_host() 669 munmap(testarea, pagesize); in postcopy_ram_supported_by_host()