Lines Matching refs:mfn

260 void __init set_pte_mfn(unsigned long vaddr, unsigned long mfn, pgprot_t flags)  in set_pte_mfn()  argument
262 if (HYPERVISOR_update_va_mapping(vaddr, mfn_pte(mfn, flags), in set_pte_mfn()
334 unsigned long mfn = (val & XEN_PTE_MFN_MASK) >> PAGE_SHIFT; in pte_mfn_to_pfn() local
335 unsigned long pfn = mfn_to_pfn(mfn); in pte_mfn_to_pfn()
352 unsigned long mfn; in pte_pfn_to_mfn() local
354 mfn = __pfn_to_mfn(pfn); in pte_pfn_to_mfn()
362 if (unlikely(mfn == INVALID_P2M_ENTRY)) { in pte_pfn_to_mfn()
363 mfn = 0; in pte_pfn_to_mfn()
366 mfn &= ~(FOREIGN_FRAME_BIT | IDENTITY_FRAME_BIT); in pte_pfn_to_mfn()
367 val = ((pteval_t)mfn << PAGE_SHIFT) | flags; in pte_pfn_to_mfn()
687 op.arg1.mfn = pfn_to_mfn(pfn); in xen_do_pin()
1006 op.arg1.mfn = pfn_to_mfn(pfn); in pin_pagetable_pfn()
1320 unsigned long mfn; in __xen_write_cr3() local
1325 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1327 mfn = 0; in __xen_write_cr3()
1329 WARN_ON(mfn == 0 && kernel); in __xen_write_cr3()
1332 op.arg1.mfn = mfn; in __xen_write_cr3()
1519 op->arg1.mfn = pfn_to_mfn(pfn); in __pin_pagetable_pfn()
2015 paddr = PFN_PHYS(mfn_to_pfn(xen_start_info->console.domU.mfn)); in xen_reserve_special_pages()
2240 unsigned long mfn; in xen_remap_exchanged_ptes() local
2251 mfn = mfns[i]; in xen_remap_exchanged_ptes()
2253 mfn = first_mfn + i; in xen_remap_exchanged_ptes()
2265 mfn_pte(mfn, PAGE_KERNEL), flags); in xen_remap_exchanged_ptes()
2267 set_phys_to_machine(virt_to_pfn((void *)vaddr), mfn); in xen_remap_exchanged_ptes()