Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/xen/
Dp2m.c530 unsigned long *top_mfn_p, *mid_mfn; in xen_alloc_p2m_entry() local
551 mid_mfn = READ_ONCE(p2m_top_mfn_p[topidx]); in xen_alloc_p2m_entry()
553 BUG_ON(virt_to_mfn(mid_mfn) != *top_mfn_p); in xen_alloc_p2m_entry()
555 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 p2m_top_mfn_p[topidx] = mid_mfn; in xen_alloc_p2m_entry()
572 free_p2m_page(mid_mfn); in xen_alloc_p2m_entry()
[all …]