Home
last modified time | relevance | path

Searched refs:_dfn (Results 1 – 12 of 12) sorted by relevance

/xen/xen/include/xen/
A Diommu.h34 #define INVALID_DFN _dfn(~0ULL)
38 #define _dfn macro
41 #undef _dfn
47 return _dfn(dfn_x(dfn) + i); in dfn_add()
/xen/xen/include/asm-x86/
A Diommu.h44 #define daddr_to_dfn(daddr) _dfn(__daddr_to_dfn(daddr))
/xen/xen/drivers/passthrough/amd/
A Diommu_map.c442 rt = amd_iommu_map_page(domain, _dfn(frame), _mfn(frame), flags, in amd_iommu_reserve_domain_unity_map()
450 amd_iommu_flush_iotlb_pages(domain, _dfn(gfn), in amd_iommu_reserve_domain_unity_map()
/xen/xen/drivers/passthrough/x86/
A Diommu.c245 rc = iommu_map(d, _dfn(pfn), _mfn(pfn), PAGE_ORDER_4K, in arch_iommu_hwdom_init()
/xen/xen/arch/x86/mm/
A Dp2m-ept.c846 rc = iommu_iotlb_flush(d, _dfn(gfn), (1u << order), in ept_set_entry()
852 iommu_legacy_map(d, _dfn(gfn), mfn, order, iommu_flags) : in ept_set_entry()
853 iommu_legacy_unmap(d, _dfn(gfn), order); in ept_set_entry()
A Dp2m-pt.c682 ? iommu_legacy_map(d, _dfn(gfn), mfn, page_order, in p2m_pt_set_entry()
684 : iommu_legacy_unmap(d, _dfn(gfn), page_order); in p2m_pt_set_entry()
A Dp2m.c1355 return iommu_legacy_map(d, _dfn(gfn_l), _mfn(gfn_l), PAGE_ORDER_4K, in set_identity_p2m_entry()
1446 return iommu_legacy_unmap(d, _dfn(gfn_l), PAGE_ORDER_4K); in clear_identity_p2m_entry()
/xen/xen/arch/x86/x86_64/
A Dmm.c1448 if ( iommu_legacy_map(hardware_domain, _dfn(i), _mfn(i), in memory_add()
1456 if ( iommu_legacy_unmap(hardware_domain, _dfn(i), in memory_add()
/xen/xen/common/
A Dmemory.c872 ret = iommu_iotlb_flush(d, _dfn(xatp->idx - done), done, in xenmem_add_to_physmap()
886 ret = iommu_iotlb_flush(d, _dfn(xatp->gpfn - done), done, in xenmem_add_to_physmap()
A Dgrant_table.c1228 if ( kind && iommu_legacy_map(ld, _dfn(mfn_x(mfn)), mfn, 0, kind) ) in map_grant_ref()
1482 err = iommu_legacy_unmap(ld, _dfn(mfn_x(op->mfn)), 0); in unmap_common()
1484 err = iommu_legacy_map(ld, _dfn(mfn_x(op->mfn)), op->mfn, 0, in unmap_common()
/xen/xen/arch/arm/
A Dp2m.c1058 rc = iommu_iotlb_flush(p2m->domain, _dfn(gfn_x(sgfn)), in __p2m_set_entry()
/xen/xen/arch/x86/
A Dmm.c2493 int rc2 = iommu_legacy_unmap(d, _dfn(mfn), PAGE_ORDER_4K); in cleanup_page_mappings()
3020 rc = iommu_legacy_unmap(d, _dfn(mfn_x(mfn)), PAGE_ORDER_4K); in _get_page_type()
3022 rc = iommu_legacy_map(d, _dfn(mfn_x(mfn)), mfn, PAGE_ORDER_4K, in _get_page_type()

Completed in 38 milliseconds