Home
last modified time | relevance | path

Searched refs:xatp (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/x86/xen/
Denlighten_hvm.c30 struct xen_add_to_physmap xatp; in xen_hvm_init_shared_info() local
32 xatp.domid = DOMID_SELF; in xen_hvm_init_shared_info()
33 xatp.idx = 0; in xen_hvm_init_shared_info()
34 xatp.space = XENMAPSPACE_shared_info; in xen_hvm_init_shared_info()
35 xatp.gpfn = shared_info_pfn; in xen_hvm_init_shared_info()
36 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_hvm_init_shared_info()
/Linux-v4.19/drivers/xen/
Darm-device.c63 struct xen_add_to_physmap_range xatp = { in xen_map_device_mmio() local
94 xatp.size = nr; in xen_map_device_mmio()
96 set_xen_guest_handle(xatp.gpfns, gpfns); in xen_map_device_mmio()
97 set_xen_guest_handle(xatp.idxs, idxs); in xen_map_device_mmio()
98 set_xen_guest_handle(xatp.errs, errs); in xen_map_device_mmio()
100 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatp); in xen_map_device_mmio()
Dxlate_mmu.c103 struct xen_add_to_physmap_range xatp = { in remap_pte_fn() local
116 set_xen_guest_handle(xatp.idxs, info->h_idxs); in remap_pte_fn()
117 set_xen_guest_handle(xatp.gpfns, info->h_gpfns); in remap_pte_fn()
118 set_xen_guest_handle(xatp.errs, info->h_errs); in remap_pte_fn()
119 xatp.size = nr_gfn; in remap_pte_fn()
121 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatp); in remap_pte_fn()
Dgrant-table.c1241 struct xen_add_to_physmap xatp; in gnttab_map() local
1250 xatp.domid = DOMID_SELF; in gnttab_map()
1251 xatp.idx = i; in gnttab_map()
1252 xatp.space = XENMAPSPACE_grant_table; in gnttab_map()
1253 xatp.gpfn = xen_auto_xlat_grant_frames.pfn[i]; in gnttab_map()
1254 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp); in gnttab_map()
/Linux-v4.19/arch/arm/xen/
Denlighten.c344 struct xen_add_to_physmap xatp; in xen_guest_init() local
374 xatp.domid = DOMID_SELF; in xen_guest_init()
375 xatp.idx = 0; in xen_guest_init()
376 xatp.space = XENMAPSPACE_shared_info; in xen_guest_init()
377 xatp.gpfn = virt_to_gfn(shared_info_page); in xen_guest_init()
378 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_guest_init()