Lines Matching defs:pte
17 pte_t *pte)
19 set_pmd(pmd, __pmd((unsigned long)pte));
23 pgtable_t pte)
25 set_pmd(pmd, __pmd((unsigned long)page_address(pte)));
70 pte_t *pte;
72 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER);
74 return pte;
80 struct page *pte;
82 pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER);
83 if (pte) {
84 clear_highpage(pte);
85 pgtable_page_ctor(pte);
87 return pte;
90 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
92 free_pages((unsigned long)pte, PTE_ORDER);
95 static inline void pte_free(struct mm_struct *mm, pgtable_t pte)
97 pgtable_page_dtor(pte);
98 __free_pages(pte, PTE_ORDER);
101 #define __pte_free_tlb(tlb,pte) \
103 pgtable_page_dtor(pte); \
104 tlb_remove_page((tlb), pte); \