Lines Matching refs:user_pgd
819 pgd_t *user_pgd = xen_get_user_pgd(pgd); in __xen_pgd_pin() local
823 if (user_pgd) { in __xen_pgd_pin()
824 xen_pin_page(mm, virt_to_page(user_pgd), PT_PGD); in __xen_pgd_pin()
826 PFN_DOWN(__pa(user_pgd))); in __xen_pgd_pin()
939 pgd_t *user_pgd = xen_get_user_pgd(pgd); in __xen_pgd_unpin() local
941 if (user_pgd) { in __xen_pgd_unpin()
943 PFN_DOWN(__pa(user_pgd))); in __xen_pgd_unpin()
944 xen_unpin_page(mm, virt_to_page(user_pgd), PT_PGD); in __xen_pgd_unpin()
1458 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3() local
1459 if (user_pgd) in xen_write_cr3()
1460 __xen_write_cr3(false, __pa(user_pgd)); in xen_write_cr3()
1516 pgd_t *user_pgd; in xen_pgd_alloc() local
1522 user_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xen_pgd_alloc()
1523 page->private = (unsigned long)user_pgd; in xen_pgd_alloc()
1525 if (user_pgd != NULL) { in xen_pgd_alloc()
1527 user_pgd[pgd_index(VSYSCALL_ADDR)] = in xen_pgd_alloc()
1543 pgd_t *user_pgd = xen_get_user_pgd(pgd); in xen_pgd_free() local
1545 if (user_pgd) in xen_pgd_free()
1546 free_page((unsigned long)user_pgd); in xen_pgd_free()