Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/
A Dplatform-pci.c78 struct xen_add_to_physmap xatp; in init_xen_info() local
88 xatp.domid = DOMID_SELF; in init_xen_info()
89 xatp.idx = 0; in init_xen_info()
90 xatp.space = XENMAPSPACE_shared_info; in init_xen_info()
91 xatp.gpfn = shared_info_frame; in init_xen_info()
92 if (HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp)) in init_xen_info()
488 struct xen_add_to_physmap xatp; in platform_pci_resume() local
492 xatp.domid = DOMID_SELF; in platform_pci_resume()
493 xatp.idx = 0; in platform_pci_resume()
494 xatp.space = XENMAPSPACE_shared_info; in platform_pci_resume()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dmemory.c763 xatp->idx, _gfn(xatp->gpfn)); in xenmem_add_to_physmap()
765 if ( xatp->size < start ) in xenmem_add_to_physmap()
768 xatp->idx += start; in xenmem_add_to_physmap()
769 xatp->gpfn += start; in xenmem_add_to_physmap()
770 xatp->size -= start; in xenmem_add_to_physmap()
777 while ( xatp->size > done ) in xenmem_add_to_physmap()
780 xatp->idx, _gfn(xatp->gpfn)); in xenmem_add_to_physmap()
784 xatp->idx++; in xenmem_add_to_physmap()
785 xatp->gpfn++; in xenmem_add_to_physmap()
1121 struct xen_add_to_physmap xatp; in do_memory_op() local
[all …]
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dutil.c404 struct xen_add_to_physmap xatp; in mem_hole_populate_ram() local
425 xatp.idx = --hvm_info->high_mem_pgend; in mem_hole_populate_ram()
431 xatp.idx = --hvm_info->low_mem_pgend; in mem_hole_populate_ram()
433 xatp.domid = DOMID_SELF; in mem_hole_populate_ram()
434 xatp.space = XENMAPSPACE_gmfn; in mem_hole_populate_ram()
435 xatp.gpfn = mfn; in mem_hole_populate_ram()
786 struct xen_add_to_physmap xatp; in get_shared_info() local
791 xatp.domid = DOMID_SELF; in get_shared_info()
792 xatp.space = XENMAPSPACE_shared_info; in get_shared_info()
793 xatp.idx = 0; in get_shared_info()
[all …]
A Dpci.c361 struct xen_add_to_physmap xatp; in pci_setup() local
374 xatp.domid = DOMID_SELF; in pci_setup()
375 xatp.space = XENMAPSPACE_gmfn_range; in pci_setup()
376 xatp.idx = hvm_info->low_mem_pgend; in pci_setup()
377 xatp.gpfn = hvm_info->high_mem_pgend; in pci_setup()
378 xatp.size = nr_pages; in pci_setup()
379 if ( hypercall_memory_op(XENMEM_add_to_physmap, &xatp) != 0 ) in pci_setup()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_dom_boot.c324 struct xen_add_to_physmap xatp = { in xc_dom_gnttab_hvm_seed() local
342 xatp.gpfn = scratch_gpfn; in xc_dom_gnttab_hvm_seed()
349 rc = do_memory_op(xch, XENMEM_add_to_physmap, &xatp, sizeof(xatp)); in xc_dom_gnttab_hvm_seed()
A Dxc_domain.c1054 struct xen_add_to_physmap xatp = { in xc_domain_add_to_physmap() local
1060 return do_memory_op(xch, XENMEM_add_to_physmap, &xatp, sizeof(xatp)); in xc_domain_add_to_physmap()
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dxen.c94 struct xen_add_to_physmap xatp = { in map_shared_info() local
104 xatp.gpfn = mfn_x(mfn); in map_shared_info()
105 rc = xen_hypercall_memory_op(XENMEM_add_to_physmap, &xatp); in map_shared_info()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dshim.c689 struct xen_add_to_physmap xatp = { in pv_shim_grant_table_op() local
704 xatp.gpfn = mfn_x(mfn); in pv_shim_grant_table_op()
705 rc = xen_hypercall_memory_op(XENMEM_add_to_physmap, &xatp); in pv_shim_grant_table_op()

Completed in 18 milliseconds