Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/xen/
Darm-device.c52 struct xen_add_to_physmap_range xatp = { in xen_map_device_mmio() local
83 xatp.size = nr; in xen_map_device_mmio()
85 set_xen_guest_handle(xatp.gpfns, gpfns); in xen_map_device_mmio()
86 set_xen_guest_handle(xatp.idxs, idxs); in xen_map_device_mmio()
87 set_xen_guest_handle(xatp.errs, errs); in xen_map_device_mmio()
89 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.c1453 struct xen_add_to_physmap xatp; in gnttab_map() local
1462 xatp.domid = DOMID_SELF; in gnttab_map()
1463 xatp.idx = i; in gnttab_map()
1464 xatp.space = XENMAPSPACE_grant_table; in gnttab_map()
1465 xatp.gpfn = xen_auto_xlat_grant_frames.pfn[i]; in gnttab_map()
1466 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp); in gnttab_map()
/linux-6.12.1/arch/x86/xen/
Denlighten_hvm.c39 struct xen_add_to_physmap xatp; in xen_hvm_init_shared_info() local
41 xatp.domid = DOMID_SELF; in xen_hvm_init_shared_info()
42 xatp.idx = 0; in xen_hvm_init_shared_info()
43 xatp.space = XENMAPSPACE_shared_info; in xen_hvm_init_shared_info()
44 xatp.gpfn = shared_info_pfn; in xen_hvm_init_shared_info()
45 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_hvm_init_shared_info()
/linux-6.12.1/arch/arm/xen/
Denlighten.c437 struct xen_add_to_physmap xatp; in xen_guest_init() local
470 xatp.domid = DOMID_SELF; in xen_guest_init()
471 xatp.idx = 0; in xen_guest_init()
472 xatp.space = XENMAPSPACE_shared_info; in xen_guest_init()
473 xatp.gpfn = virt_to_gfn(shared_info_page); in xen_guest_init()
474 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_guest_init()