Lines Matching refs:pte
41 pte_t *pte = (pte_t *) __get_free_page(GFP_KERNEL); in pte_alloc_one() local
42 if (pte) in pte_alloc_one()
43 clear_page(pte); in pte_alloc_one()
44 return pte; in pte_alloc_one()
52 static inline void pte_free_slow(pte_t *pte) in pte_free_slow() argument
54 free_page((unsigned long)pte); in pte_free_slow()
57 #define pte_free(pte) pte_free_slow(pte) argument
105 pmd_populate (struct mm_struct *mm, pmd_t *pmd, pte_t *pte) in pmd_populate() argument
108 pmd_set(pmd,pte); in pmd_populate()
147 pte_t pte = *ptep; in ptep_get_and_clear() local
149 return pte; in ptep_get_and_clear()
157 pte_t pte = *ptep; in ptep_test_and_clear_young() local
158 if (!pte_young(pte)) in ptep_test_and_clear_young()
160 set_pte(ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
166 pte_t pte = *ptep; in ptep_test_and_clear_dirty() local
167 if (!pte_dirty(pte)) in ptep_test_and_clear_dirty()
169 set_pte(ptep, pte_mkclean(pte)); in ptep_test_and_clear_dirty()