Lines Matching refs:pte
83 struct page *pte; in pte_alloc_one() local
85 pte = alloc_pages(PGALLOC_GFP, 0); in pte_alloc_one()
86 if (!pte) in pte_alloc_one()
88 if (!pgtable_page_ctor(pte)) { in pte_alloc_one()
89 __free_page(pte); in pte_alloc_one()
92 return pte; in pte_alloc_one()
98 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() argument
100 if (pte) in pte_free_kernel()
101 free_page((unsigned long)pte); in pte_free_kernel()
104 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() argument
106 pgtable_page_dtor(pte); in pte_free()
107 __free_page(pte); in pte_free()
110 static inline void __pmd_populate(pmd_t *pmdp, phys_addr_t pte, in __pmd_populate() argument
113 set_pmd(pmdp, __pmd(pte | prot)); in __pmd_populate()