Searched refs:pte_pg (Results 1 – 2 of 2) sorted by relevance
107 pgtable_t pte_pg; in pte_alloc_one() local110 pte_pg = (pgtable_t)__get_free_pages(GFP_KERNEL | __GFP_REPEAT, __get_order_pte()); in pte_alloc_one()111 if (!pte_pg) in pte_alloc_one()113 memzero((void *)pte_pg, PTRS_PER_PTE * sizeof(pte_t)); in pte_alloc_one()114 page = virt_to_page(pte_pg); in pte_alloc_one()120 return pte_pg; in pte_alloc_one()
470 static pte_t *alloc_p2m_pmd(unsigned long addr, pte_t *pte_pg) in alloc_p2m_pmd() argument494 copy_page(pte_newpg[i], pte_pg); in alloc_p2m_pmd()503 if (ptechk == pte_pg) { in alloc_p2m_pmd()537 pte_t *ptep, *pte_pg; in xen_alloc_p2m_entry() local548 pte_pg = (pte_t *)((unsigned long)ptep & ~(PAGE_SIZE - 1)); in xen_alloc_p2m_entry()550 if (pte_pg == p2m_missing_pte || pte_pg == p2m_identity_pte) { in xen_alloc_p2m_entry()552 ptep = alloc_p2m_pmd(addr, pte_pg); in xen_alloc_p2m_entry()