Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/xen/
Dpage.h43 #define INVALID_P2M_ENTRY (~0UL) macro
153 if (unlikely(mfn == INVALID_P2M_ENTRY)) in __pfn_to_mfn()
179 if (mfn != INVALID_P2M_ENTRY) in pfn_to_mfn()
190 return __pfn_to_mfn(pfn) != INVALID_P2M_ENTRY; in phys_to_machine_mapping_valid()
/Linux-v5.4/arch/x86/xen/
Dp2m.c171 p2m[i] = INVALID_P2M_ENTRY; in p2m_init()
303 xen_p2m_addr[pfn] = INVALID_P2M_ENTRY; in xen_build_dynamic_phys_to_machine()
322 if (mfn == INVALID_P2M_ENTRY) in xen_p2m_elem_type()
660 BUG_ON(mfn != INVALID_P2M_ENTRY); in __set_phys_to_machine()
675 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine()
731 WARN(pfn_to_mfn(pfn) != INVALID_P2M_ENTRY, "page must be ballooned"); in set_foreign_p2m_mapping()
757 if (mfn == INVALID_P2M_ENTRY || !(mfn & FOREIGN_FRAME_BIT)) { in clear_foreign_p2m_mapping()
762 set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in clear_foreign_p2m_mapping()
Dsetup.c60 static unsigned long xen_remap_mfn __initdata = INVALID_P2M_ENTRY;
171 return INVALID_P2M_ENTRY; in xen_chk_extra_mem()
191 set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in xen_inv_extra_mem()
268 if (mfn == INVALID_P2M_ENTRY || mfn_to_pfn(mfn) != pfn) in xen_set_identity_and_release_chunk()
276 if (!__set_phys_to_machine(pfn, INVALID_P2M_ENTRY)) in xen_set_identity_and_release_chunk()
510 while (xen_remap_mfn != INVALID_P2M_ENTRY) { in xen_remap_memory()
Dmmu_pv.c364 if (unlikely(mfn == INVALID_P2M_ENTRY)) { in pte_pfn_to_mfn()
1566 if (pte_mfn(pte) != INVALID_P2M_ENTRY in xen_set_pte_init()
2490 __set_phys_to_machine(virt_to_pfn(vaddr), INVALID_P2M_ENTRY); in xen_zap_pfn_range()
/Linux-v5.4/arch/arm/xen/
Dp2m.c85 return INVALID_P2M_ENTRY; in __pfn_to_mfn()
114 INVALID_P2M_ENTRY); in clear_foreign_p2m_mapping()
129 if (mfn == INVALID_P2M_ENTRY) { in __set_phys_to_machine_multi()
/Linux-v5.4/include/xen/arm/
Dpage.h30 #define INVALID_P2M_ENTRY (~0UL) macro
64 if (mfn != INVALID_P2M_ENTRY) in pfn_to_bfn()
/Linux-v5.4/drivers/xen/
Dmem-reservation.c86 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in __xenmem_reservation_va_mapping_reset()
Dballoon.c333 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in reserve_additional_memory()