Home
last modified time | relevance | path

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

/arch/x86/xen/
Dp2m.c529 unsigned long *top_mfn_p, *mid_mfn; in xen_alloc_p2m_entry() local
550 mid_mfn = ACCESS_ONCE(p2m_top_mfn_p[topidx]); in xen_alloc_p2m_entry()
552 BUG_ON(virt_to_mfn(mid_mfn) != *top_mfn_p); in xen_alloc_p2m_entry()
554 if (mid_mfn == p2m_mid_missing_mfn) { in xen_alloc_p2m_entry()
560 mid_mfn = alloc_p2m_page(); in xen_alloc_p2m_entry()
561 if (!mid_mfn) in xen_alloc_p2m_entry()
564 p2m_mid_mfn_init(mid_mfn, p2m_missing); in xen_alloc_p2m_entry()
567 mid_mfn_mfn = virt_to_mfn(mid_mfn); in xen_alloc_p2m_entry()
570 free_p2m_page(mid_mfn); in xen_alloc_p2m_entry()
571 mid_mfn = mfn_to_virt(old_mfn); in xen_alloc_p2m_entry()
[all …]