Lines Matching defs:pte

106 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)  in pte_modify()
119 #define __pte_page(pte) \ argument
124 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none()
125 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present()
131 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) argument
135 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
168 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write()
169 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty()
170 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_young()
171 static inline int pte_file(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } 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) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect()
175 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_MODIFIED; return pte; } in pte_mkclean()
176 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_ACCESSED; return pte; } in pte_mkold()
177 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= SUN3_PAGE_WRITEABLE; return pte; } in pte_mkwrite()
178 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= SUN3_PAGE_MODIFIED; return pte; } in pte_mkdirty()
179 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= SUN3_PAGE_ACCESSED; return pte; } in pte_mkyoung()
180 static inline pte_t pte_mknocache(pte_t pte) { pte_val(pte) |= SUN3_PAGE_NOCACHE; return pte; } in pte_mknocache()
184 static inline pte_t pte_mkcache(pte_t pte) { return pte; } in pte_mkcache()
185 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
205 static inline unsigned long pte_to_pgoff(pte_t pte) in pte_to_pgoff()
212 pte_t pte = { off + SUN3_PAGE_ACCESSED }; in pgoff_to_pte() local
221 #define pte_unmap(pte) do { } while (0) argument
227 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument