Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1437 struct xen_add_to_physmap xatp; in gnttab_map() local
1446 xatp.domid = DOMID_SELF; in gnttab_map()
1447 xatp.idx = i; in gnttab_map()
1448 xatp.space = XENMAPSPACE_grant_table; in gnttab_map()
1449 xatp.gpfn = xen_auto_xlat_grant_frames.pfn[i]; in gnttab_map()
1450 rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp); in gnttab_map()
/linux-6.1.9/arch/x86/xen/
Denlighten_hvm.c41 struct xen_add_to_physmap xatp; in xen_hvm_init_shared_info() local
43 xatp.domid = DOMID_SELF; in xen_hvm_init_shared_info()
44 xatp.idx = 0; in xen_hvm_init_shared_info()
45 xatp.space = XENMAPSPACE_shared_info; in xen_hvm_init_shared_info()
46 xatp.gpfn = shared_info_pfn; in xen_hvm_init_shared_info()
47 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_hvm_init_shared_info()
/linux-6.1.9/arch/arm/xen/
Denlighten.c440 struct xen_add_to_physmap xatp; in xen_guest_init() local
473 xatp.domid = DOMID_SELF; in xen_guest_init()
474 xatp.idx = 0; in xen_guest_init()
475 xatp.space = XENMAPSPACE_shared_info; in xen_guest_init()
476 xatp.gpfn = virt_to_gfn(shared_info_page); in xen_guest_init()
477 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in xen_guest_init()