Searched refs:guardptr (Results 1 – 1 of 1) sorted by relevance
255 void *ptr, *guardptr; in qemu_ram_mmap() local263 guardptr = mmap_reserve(total, fd); in qemu_ram_mmap()264 if (guardptr == MAP_FAILED) { in qemu_ram_mmap()272 offset = QEMU_ALIGN_UP((uintptr_t)guardptr, align) - (uintptr_t)guardptr; in qemu_ram_mmap()274 ptr = mmap_activate(guardptr + offset, size, fd, qemu_map_flags, in qemu_ram_mmap()277 munmap(guardptr, total); in qemu_ram_mmap()282 munmap(guardptr, offset); in qemu_ram_mmap()