Lines Matching refs:pte
13 #define pmd_populate(mm, pmd, pte) \ argument
14 set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte)))
38 pte_t *pte = (pte_t *) __get_free_page(GFP_KERNEL); in pte_alloc_one() local
39 if (pte) in pte_alloc_one()
40 clear_page(pte); in pte_alloc_one()
41 return pte; in pte_alloc_one()
49 static inline void pte_free_slow(pte_t *pte) in pte_free_slow() argument
51 free_page((unsigned long)pte); in pte_free_slow()
54 #define pte_free(pte) pte_free_slow(pte) argument
69 #define pgd_populate(mm, pmd, pte) BUG() argument
104 pte_t pte = *ptep; in ptep_get_and_clear() local
107 if (!pte_not_present(pte)) { in ptep_get_and_clear()
108 struct page *page = pte_page(pte); in ptep_get_and_clear()
113 return pte; in ptep_get_and_clear()
118 pte_t pte = *ptep; in ptep_get_and_clear() local
120 return pte; in ptep_get_and_clear()
129 pte_t pte = *ptep; in ptep_test_and_clear_young() local
130 if (!pte_young(pte)) in ptep_test_and_clear_young()
132 set_pte(ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
138 pte_t pte = *ptep; in ptep_test_and_clear_dirty() local
139 if (!pte_dirty(pte)) in ptep_test_and_clear_dirty()
141 set_pte(ptep, pte_mkclean(pte)); in ptep_test_and_clear_dirty()