Lines Matching refs:pte_t
103 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
109 static inline void pmd_set(pmd_t *pmdp, pte_t *ptep) in pmd_set()
116 ptbl += (sizeof(pte_t)*PTRS_PER_PTE/16); in pmd_set()
168 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write()
169 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
170 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
171 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
172 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
174 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect()
175 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
176 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
177 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } in pte_mkwrite()
178 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
179 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
180 static inline pte_t pte_mknocache(pte_t pte) in pte_mknocache()
185 static inline pte_t pte_mkcache(pte_t pte) in pte_mkcache()
190 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
219 static inline pte_t *pte_offset_kernel(pmd_t *pmdp, unsigned long address) in pte_offset_kernel()
221 return (pte_t *)__pmd_page(*pmdp) + ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); in pte_offset_kernel()
224 #define pte_offset_map(pmdp,address) ((pte_t *)__pmd_page(*pmdp) + (((address) >> PAGE_SHIFT) & (PT…
244 pte_t *ptep; in nocache_page()
260 pte_t *ptep; in cache_page()
271 static inline unsigned long pte_to_pgoff(pte_t pte) in pte_to_pgoff()
276 static inline pte_t pgoff_to_pte(unsigned off) in pgoff_to_pte()
278 pte_t pte = { (off << 4) + _PAGE_FILE }; in pgoff_to_pte()
287 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })