Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_core.c45 void *guest_mappings[GUEST_MAPPINGS_TRIES]; in vbg_guest_mappings_init() local
88 guest_mappings[i] = vmap(pages, (size >> PAGE_SHIFT), in vbg_guest_mappings_init()
90 if (!guest_mappings[i]) in vbg_guest_mappings_init()
97 (unsigned long)PTR_ALIGN(guest_mappings[i], SZ_4M); in vbg_guest_mappings_init()
101 gdev->guest_mappings = guest_mappings[i]; in vbg_guest_mappings_init()
108 vunmap(guest_mappings[i]); in vbg_guest_mappings_init()
111 if (!gdev->guest_mappings) { in vbg_guest_mappings_init()
131 if (!gdev->guest_mappings) in vbg_guest_mappings_exit()
154 vunmap(gdev->guest_mappings); in vbg_guest_mappings_exit()
155 gdev->guest_mappings = NULL; in vbg_guest_mappings_exit()
Dvboxguest_core.h82 void *guest_mappings; member