Lines Matching refs:pte_newpg
473 pte_t *pte_newpg[PMDS_PER_MID_PAGE]; in alloc_p2m_pmd() local
482 pte_newpg[i] = alloc_p2m_page(); in alloc_p2m_pmd()
483 if (!pte_newpg[i]) { in alloc_p2m_pmd()
485 free_p2m_page(pte_newpg[i]); in alloc_p2m_pmd()
494 copy_page(pte_newpg[i], pte_pg); in alloc_p2m_pmd()
495 paravirt_alloc_pte(&init_mm, __pa(pte_newpg[i]) >> PAGE_SHIFT); in alloc_p2m_pmd()
507 __pmd(__pa(pte_newpg[i]) | _KERNPG_TABLE)); in alloc_p2m_pmd()
510 pte_newpg[i] = NULL; in alloc_p2m_pmd()
515 if (pte_newpg[i]) { in alloc_p2m_pmd()
516 paravirt_release_pte(__pa(pte_newpg[i]) >> PAGE_SHIFT); in alloc_p2m_pmd()
517 free_p2m_page(pte_newpg[i]); in alloc_p2m_pmd()