Searched refs:mid_mfn (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/x86/xen/
H A Dp2m.c536 unsigned long *top_mfn_p, *mid_mfn; xen_alloc_p2m_entry() local
560 mid_mfn = ACCESS_ONCE(p2m_top_mfn_p[topidx]); xen_alloc_p2m_entry()
562 BUG_ON(virt_to_mfn(mid_mfn) != *top_mfn_p); xen_alloc_p2m_entry()
564 if (mid_mfn == p2m_mid_missing_mfn) { xen_alloc_p2m_entry()
570 mid_mfn = alloc_p2m_page(); xen_alloc_p2m_entry()
571 if (!mid_mfn) xen_alloc_p2m_entry()
574 p2m_mid_mfn_init(mid_mfn, p2m_missing); xen_alloc_p2m_entry()
577 mid_mfn_mfn = virt_to_mfn(mid_mfn); xen_alloc_p2m_entry()
580 free_p2m_page(mid_mfn); xen_alloc_p2m_entry()
581 mid_mfn = mfn_to_virt(old_mfn); xen_alloc_p2m_entry()
583 p2m_top_mfn_p[topidx] = mid_mfn; xen_alloc_p2m_entry()
587 mid_mfn = NULL; xen_alloc_p2m_entry()
614 if (mid_mfn) xen_alloc_p2m_entry()
615 mid_mfn[p2m_mid_index(pfn)] = virt_to_mfn(p2m); xen_alloc_p2m_entry()

Completed in 108 milliseconds