Home | History | Annotate | Download | only in asm-arm

Lines Matching defs:pte

31 #define pgd_populate(mm,pmd,pte)	BUG()
40 * Allocate one PTE table.
42 * This actually allocates two hardware PTE tables, but we wrap this up
58 pte_t *pte;
60 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
61 if (pte) {
62 clean_dcache_area(pte, sizeof(pte_t) * PTRS_PER_PTE);
63 pte += PTRS_PER_PTE;
66 return pte;
72 struct page *pte;
74 pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
75 if (pte) {
76 void *page = page_address(pte);
80 return pte;
84 * Free one PTE table.
86 static inline void pte_free_kernel(pte_t *pte)
88 if (pte) {
89 pte -= PTRS_PER_PTE;
90 free_page((unsigned long)pte);
94 static inline void pte_free(struct page *pte)
96 __free_page(pte);
107 * Populate the pmdp entry with a pointer to the pte. This pmd is part
119 * address of the PTE table