Lines Matching refs:sa_p2mt
44 return ((e->epte & ~(1ul << 63)) != 0 && e->sa_p2mt != p2m_invalid); in is_epte_valid()
54 new.sa_p2mt != entryptr->sa_p2mt); in atomic_write_ept_entry()
58 ASSERT(!is_epte_superpage(&new) || !p2m_is_foreign(new.sa_p2mt)); in atomic_write_ept_entry()
63 if ( unlikely(p2m_is_foreign(new.sa_p2mt)) ) in atomic_write_ept_entry()
88 if ( unlikely(p2m_is_foreign(entryptr->sa_p2mt)) && check_foreign ) in atomic_write_ept_entry()
307 ept_p2m_type_to_flags(p2m, epte, epte->sa_p2mt, epte->access); in ept_split_super_page()
364 if ( e.sa_p2mt == p2m_populate_on_demand ) in ept_next_level()
545 e.sa_p2mt == p2m_mmio_direct); in resolve_misconfig()
548 nt = p2m_recalc_type(e.recalc, e.sa_p2mt, p2m, gfn + i); in resolve_misconfig()
549 if ( nt != e.sa_p2mt ) in resolve_misconfig()
551 if ( e.sa_p2mt == p2m_ioreq_server ) in resolve_misconfig()
557 e.sa_p2mt = nt; in resolve_misconfig()
558 ept_p2m_type_to_flags(p2m, &e, e.sa_p2mt, e.access); in resolve_misconfig()
569 e.sa_p2mt == p2m_mmio_direct); in resolve_misconfig()
572 if ( recalc && p2m_is_changeable(e.sa_p2mt) ) in resolve_misconfig()
576 ASSERT(e.sa_p2mt != p2m_ioreq_server); in resolve_misconfig()
581 e.sa_p2mt = p2m_ram_rw; in resolve_misconfig()
585 e.sa_p2mt = p2m_ram_logdirty; in resolve_misconfig()
610 if ( recalc && p2m_is_changeable(e.sa_p2mt) ) in resolve_misconfig()
611 ept_p2m_type_to_flags(p2m, &e, e.sa_p2mt, e.access); in resolve_misconfig()
809 new_entry.sa_p2mt = p2mt; in ept_set_entry()
818 p2m_get_iommu_flags(ept_entry->sa_p2mt, _mfn(ept_entry->mfn)) == in ept_set_entry()
841 if ( ept_entry->sa_p2mt == p2m_ioreq_server ) in ept_set_entry()
981 if ( ept_entry->sa_p2mt == p2m_populate_on_demand ) in ept_get_entry()
998 ept_entry->sa_p2mt, p2m, gfn); in ept_get_entry()
1345 if ( ept_entry->sa_p2mt == p2m_populate_on_demand ) in ept_dump_p2m_table()