Home
last modified time | relevance | path

Searched refs:guest_mappings (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/virt/vboxguest/
H A Dvboxguest_core.c50 void *guest_mappings[GUEST_MAPPINGS_TRIES]; in vbg_guest_mappings_init() local
94 guest_mappings[i] = vmap(pages, (size >> PAGE_SHIFT), in vbg_guest_mappings_init()
96 if (!guest_mappings[i]) in vbg_guest_mappings_init()
103 (unsigned long)PTR_ALIGN(guest_mappings[i], SZ_4M); in vbg_guest_mappings_init()
107 gdev->guest_mappings = guest_mappings[i]; in vbg_guest_mappings_init()
114 vunmap(guest_mappings[i]); in vbg_guest_mappings_init()
117 if (!gdev->guest_mappings) { in vbg_guest_mappings_init()
137 if (!gdev->guest_mappings) in vbg_guest_mappings_exit()
161 vunmap(gdev->guest_mappings); in vbg_guest_mappings_exit()
162 gdev->guest_mappings = NULL; in vbg_guest_mappings_exit()
H A Dvboxguest_core.h82 void *guest_mappings; member