Lines Matching refs:pte
84 struct page *pte; in pte_alloc_one() local
86 pte = alloc_pages(PGALLOC_GFP, 0); in pte_alloc_one()
87 if (!pte) in pte_alloc_one()
89 if (!pgtable_page_ctor(pte)) { in pte_alloc_one()
90 __free_page(pte); in pte_alloc_one()
93 return pte; in pte_alloc_one()
99 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel() argument
101 if (pte) in pte_free_kernel()
102 free_page((unsigned long)pte); in pte_free_kernel()
105 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free() argument
107 pgtable_page_dtor(pte); in pte_free()
108 __free_page(pte); in pte_free()
111 static inline void __pmd_populate(pmd_t *pmdp, phys_addr_t pte, in __pmd_populate() argument
114 set_pmd(pmdp, __pmd(pte | prot)); in __pmd_populate()