Searched refs:xatp (Results 1 – 2 of 2) sorted by relevance
888 struct xen_add_to_physmap xatp; in gnttab_map() local896 xatp.domid = DOMID_SELF; in gnttab_map()897 xatp.idx = i; in gnttab_map()898 xatp.space = XENMAPSPACE_grant_table; in gnttab_map()899 xatp.gpfn = (xen_hvm_resume_frames >> PAGE_SHIFT) + i; in gnttab_map()900 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp); in gnttab_map()
1501 struct xen_add_to_physmap xatp; in xen_hvm_init_shared_info() local1507 xatp.domid = DOMID_SELF; in xen_hvm_init_shared_info()1508 xatp.idx = 0; in xen_hvm_init_shared_info()1509 xatp.space = XENMAPSPACE_shared_info; in xen_hvm_init_shared_info()1510 xatp.gpfn = __pa(shared_info_page) >> PAGE_SHIFT; in xen_hvm_init_shared_info()1511 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_hvm_init_shared_info()