Searched refs:xatp (Results 1 – 2 of 2) sorted by relevance
504 struct xen_add_to_physmap xatp; in gnttab_map() local512 xatp.domid = DOMID_SELF; in gnttab_map()513 xatp.idx = i; in gnttab_map()514 xatp.space = XENMAPSPACE_grant_table; in gnttab_map()515 xatp.gpfn = (resume_frames >> PAGE_SHIFT) + i; in gnttab_map()516 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in gnttab_map()
182 static struct xen_add_to_physmap xatp = { in map_shared_info() local191 if (xatp.gpfn == 0) in map_shared_info()192 xatp.gpfn = atop(early_init_vtop(&shared_page.shared_info)); in map_shared_info()194 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp); in map_shared_info()