Lines Matching refs:pte_t
85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
101 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none()
102 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present()
103 static inline void pte_clear (struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear()
111 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
140 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write()
141 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty()
142 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_young()
144 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect()
145 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_MODIFIED; return pte; } in pte_mkclean()
146 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_ACCESSED; return pte; } in pte_mkold()
147 static inline pte_t pte_mkwrite_novma(pte_t pte){ pte_val(pte) |= SUN3_PAGE_WRITEABLE; return pte; } in pte_mkwrite_novma()
148 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= SUN3_PAGE_MODIFIED; return pte; } in pte_mkdirty()
149 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= SUN3_PAGE_ACCESSED; return pte; } in pte_mkyoung()
150 static inline pte_t pte_mknocache(pte_t pte) { pte_val(pte) |= SUN3_PAGE_NOCACHE; return pte; } in pte_mknocache()
154 static inline pte_t pte_mkcache(pte_t pte) { return pte; } in pte_mkcache()
176 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
178 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
183 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
189 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()