Lines Matching refs:pte_t

102 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)  in pte_modify()
108 static inline void pmd_set(pmd_t *pmdp, pte_t *ptep) in pmd_set()
115 ptbl += (sizeof(pte_t)*PTRS_PER_PTE/16); in pmd_set()
167 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write()
168 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
169 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
170 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
172 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect()
173 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
174 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
175 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } in pte_mkwrite()
176 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
177 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
178 static inline pte_t pte_mknocache(pte_t pte) in pte_mknocache()
183 static inline pte_t pte_mkcache(pte_t pte) in pte_mkcache()
188 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
217 static inline pte_t *pte_offset_kernel(pmd_t *pmdp, unsigned long address) in pte_offset_kernel()
219 return (pte_t *)__pmd_page(*pmdp) + ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); in pte_offset_kernel()
222 #define pte_offset_map(pmdp,address) ((pte_t *)__pmd_page(*pmdp) + (((address) >> PAGE_SHIFT) & (PT…
242 pte_t *ptep; in nocache_page()
258 pte_t *ptep; in cache_page()
272 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })