/kernel/linux/linux-5.10/arch/x86/include/asm/xen/ |
H A D | page.h | 42 #define INVALID_P2M_ENTRY (~0UL) macro 133 * - pfn_to_mfn() returns either INVALID_P2M_ENTRY or the mfn. No indicator 152 if (unlikely(mfn == INVALID_P2M_ENTRY)) in __pfn_to_mfn() 178 if (mfn != INVALID_P2M_ENTRY) in pfn_to_mfn() 189 return __pfn_to_mfn(pfn) != INVALID_P2M_ENTRY; in phys_to_machine_mapping_valid() 284 * Yikes! Various places must poke in INVALID_P2M_ENTRY for safety.
|
/kernel/linux/linux-6.6/arch/x86/include/asm/xen/ |
H A D | page.h | 42 #define INVALID_P2M_ENTRY (~0UL) macro 125 * - pfn_to_mfn() returns either INVALID_P2M_ENTRY or the mfn. No indicator 144 if (unlikely(mfn == INVALID_P2M_ENTRY)) in __pfn_to_mfn() 170 if (mfn != INVALID_P2M_ENTRY) in pfn_to_mfn() 181 return __pfn_to_mfn(pfn) != INVALID_P2M_ENTRY; in phys_to_machine_mapping_valid() 276 * Yikes! Various places must poke in INVALID_P2M_ENTRY for safety.
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | p2m.c | 35 * pfn_to_mfn(0x90909090)=INVALID_P2M_ENTRY. 37 * INVALID_P2M_ENTRY. This page may be referenced multiple times in the p2m 49 * in p2m_identity are set to INVALID_P2M_ENTRY type (Xen toolstack only 53 * identity value instead of dereferencing and returning INVALID_P2M_ENTRY. 171 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() 451 * The INVALID_P2M_ENTRY is filled in both p2m_*identity in get_phys_to_machine() 452 * and in p2m_*missing, so returning the INVALID_P2M_ENTRY in get_phys_to_machine() 657 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine() [all...] |
H A D | setup.c | 60 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()
|
H A D | mmu_pv.c | 343 if (unlikely(mfn == INVALID_P2M_ENTRY)) { in pte_pfn_to_mfn() 1137 /* using __ka address and sticking INVALID_P2M_ENTRY! */ in xen_pagetable_p2m_free() 2172 __set_phys_to_machine(virt_to_pfn(vaddr), INVALID_P2M_ENTRY); in xen_zap_pfn_range() local
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | p2m.c | 35 * pfn_to_mfn(0x90909090)=INVALID_P2M_ENTRY. 37 * INVALID_P2M_ENTRY. This page may be referenced multiple times in the p2m 49 * in p2m_identity are set to INVALID_P2M_ENTRY type (Xen toolstack only 53 * identity value instead of dereferencing and returning INVALID_P2M_ENTRY. 166 p2m[i] = INVALID_P2M_ENTRY; in p2m_init() 298 xen_p2m_addr[pfn] = INVALID_P2M_ENTRY; in xen_build_dynamic_phys_to_machine() 317 if (mfn == INVALID_P2M_ENTRY) in xen_p2m_elem_type() 446 * The INVALID_P2M_ENTRY is filled in both p2m_*identity in get_phys_to_machine() 447 * and in p2m_*missing, so returning the INVALID_P2M_ENTRY in get_phys_to_machine() 652 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine() [all...] |
H A D | setup.c | 65 static unsigned long xen_remap_mfn __initdata = INVALID_P2M_ENTRY; 176 return INVALID_P2M_ENTRY; in xen_chk_extra_mem() 196 set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in xen_inv_extra_mem() 273 if (mfn == INVALID_P2M_ENTRY || mfn_to_pfn(mfn) != pfn) in xen_set_identity_and_release_chunk() 281 if (!__set_phys_to_machine(pfn, INVALID_P2M_ENTRY)) in xen_set_identity_and_release_chunk() 511 while (xen_remap_mfn != INVALID_P2M_ENTRY) { in xen_remap_memory()
|
H A D | mmu_pv.c | 363 if (unlikely(mfn == INVALID_P2M_ENTRY)) { in pte_pfn_to_mfn() 1152 /* using __ka address and sticking INVALID_P2M_ENTRY! */ in xen_pagetable_p2m_free() 2225 __set_phys_to_machine(virt_to_pfn((void *)vaddr), INVALID_P2M_ENTRY); in xen_zap_pfn_range() local
|
/kernel/linux/linux-5.10/include/xen/arm/ |
H A D | page.h | 30 #define INVALID_P2M_ENTRY (~0UL) macro 64 if (mfn != INVALID_P2M_ENTRY) in pfn_to_bfn()
|
/kernel/linux/linux-6.6/include/xen/arm/ |
H A D | page.h | 30 #define INVALID_P2M_ENTRY (~0UL) macro 64 if (mfn != INVALID_P2M_ENTRY) in pfn_to_bfn()
|
/kernel/linux/linux-5.10/arch/arm/xen/ |
H A D | p2m.c | 86 return INVALID_P2M_ENTRY; in __pfn_to_mfn() 144 INVALID_P2M_ENTRY); in clear_foreign_p2m_mapping() 159 if (mfn == INVALID_P2M_ENTRY) { in __set_phys_to_machine_multi()
|
/kernel/linux/linux-6.6/arch/arm/xen/ |
H A D | p2m.c | 87 return INVALID_P2M_ENTRY; in __pfn_to_mfn() 144 INVALID_P2M_ENTRY); in clear_foreign_p2m_mapping() 158 if (mfn == INVALID_P2M_ENTRY) { in __set_phys_to_machine_multi()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | mem-reservation.c | 86 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in __xenmem_reservation_va_mapping_reset()
|
H A D | unpopulated-alloc.c | 69 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in fill_list()
|
H A D | balloon.c | 322 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in reserve_additional_memory()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | mem-reservation.c | 79 __set_phys_to_machine(pfn, INVALID_P2M_ENTRY); in __xenmem_reservation_va_mapping_reset()
|
H A D | unpopulated-alloc.c | 112 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in fill_list()
|
H A D | balloon.c | 306 if (!set_phys_to_machine(pfn + i, INVALID_P2M_ENTRY)) { in reserve_additional_memory()
|