Lines Matching refs:mfn
236 static int __init xen_free_mfn(unsigned long mfn) in xen_free_mfn() argument
244 set_xen_guest_handle(reservation.extent_start, &mfn); in xen_free_mfn()
265 unsigned long mfn = pfn_to_mfn(pfn); in xen_set_identity_and_release_chunk() local
268 if (mfn == INVALID_P2M_ENTRY || mfn_to_pfn(mfn) != pfn) in xen_set_identity_and_release_chunk()
271 ret = xen_free_mfn(mfn); in xen_set_identity_and_release_chunk()
288 static void __init xen_update_mem_tables(unsigned long pfn, unsigned long mfn) in xen_update_mem_tables() argument
291 .ptr = ((uint64_t)mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE, in xen_update_mem_tables()
296 if (!set_phys_to_machine(pfn, mfn)) { in xen_update_mem_tables()
298 pfn, mfn); in xen_update_mem_tables()
305 mfn, pfn); in xen_update_mem_tables()
314 mfn_pte(mfn, PAGE_KERNEL), 0)) { in xen_update_mem_tables()
316 mfn, pfn); in xen_update_mem_tables()
337 unsigned long mfn_save, mfn; in xen_do_set_identity_and_remap_chunk() local
353 mfn = pfn_to_mfn(ident_pfn_iter); in xen_do_set_identity_and_remap_chunk()
354 set_pte_mfn(buf, mfn, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
364 xen_remap_mfn = mfn; in xen_do_set_identity_and_remap_chunk()