Lines Matching defs:pte
85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
93 #define __pte_page(pte) \ argument
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()
108 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) argument
112 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
139 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write()
140 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty()
141 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_young()
143 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect()
144 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_MODIFIED; return pte; } in pte_mkclean()
145 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_ACCESSED; return pte; } in pte_mkold()
146 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= SUN3_PAGE_WRITEABLE; return pte; } in pte_mkwrite()
147 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= SUN3_PAGE_MODIFIED; return pte; } in pte_mkdirty()
148 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= SUN3_PAGE_ACCESSED; return pte; } in pte_mkyoung()
149 static inline pte_t pte_mknocache(pte_t pte) { pte_val(pte) |= SUN3_PAGE_NOCACHE; return pte; } in pte_mknocache()
153 static inline pte_t pte_mkcache(pte_t pte) { return pte; } in pte_mkcache()
174 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
177 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
182 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
188 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()