Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arc/include/asm/
Dpgalloc.h103 pgtable_t pte_pg; in pte_alloc_one() local
106 pte_pg = (pgtable_t)__get_free_pages(GFP_KERNEL, __get_order_pte()); in pte_alloc_one()
107 if (!pte_pg) in pte_alloc_one()
109 memzero((void *)pte_pg, PTRS_PER_PTE * sizeof(pte_t)); in pte_alloc_one()
110 page = virt_to_page(pte_pg); in pte_alloc_one()
116 return pte_pg; in pte_alloc_one()
/Linux-v5.10/arch/x86/xen/
Dp2m.c468 static pte_t *alloc_p2m_pmd(unsigned long addr, pte_t *pte_pg) in alloc_p2m_pmd() argument
492 copy_page(pte_newpg[i], pte_pg); in alloc_p2m_pmd()
501 if (ptechk == pte_pg) { in alloc_p2m_pmd()
535 pte_t *ptep, *pte_pg; in xen_alloc_p2m_entry() local
543 pte_pg = (pte_t *)((unsigned long)ptep & ~(PAGE_SIZE - 1)); in xen_alloc_p2m_entry()
545 if (pte_pg == p2m_missing_pte || pte_pg == p2m_identity_pte) { in xen_alloc_p2m_entry()
547 ptep = alloc_p2m_pmd(addr, pte_pg); in xen_alloc_p2m_entry()