Lines Matching refs:user_pgd
727 pgd_t *user_pgd = xen_get_user_pgd(pgd); in __xen_pgd_pin() local
737 if (user_pgd) { in __xen_pgd_pin()
738 xen_pin_page(mm, virt_to_page(user_pgd), PT_PGD); in __xen_pgd_pin()
740 PFN_DOWN(__pa(user_pgd))); in __xen_pgd_pin()
837 pgd_t *user_pgd = xen_get_user_pgd(pgd); in __xen_pgd_unpin() local
845 if (user_pgd) { in __xen_pgd_unpin()
847 PFN_DOWN(__pa(user_pgd))); in __xen_pgd_unpin()
848 xen_unpin_page(mm, virt_to_page(user_pgd), PT_PGD); in __xen_pgd_unpin()
1325 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3() local
1337 if (user_pgd) in xen_write_cr3()
1338 __xen_write_cr3(false, __pa(user_pgd)); in xen_write_cr3()
1384 pgd_t *user_pgd; in xen_pgd_alloc() local
1390 user_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xen_pgd_alloc()
1391 page->private = (unsigned long)user_pgd; in xen_pgd_alloc()
1393 if (user_pgd != NULL) { in xen_pgd_alloc()
1395 user_pgd[pgd_index(VSYSCALL_ADDR)] = in xen_pgd_alloc()
1408 pgd_t *user_pgd = xen_get_user_pgd(pgd); in xen_pgd_free() local
1410 if (user_pgd) in xen_pgd_free()
1411 free_page((unsigned long)user_pgd); in xen_pgd_free()