Lines Matching defs:pte

90 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)  in pte_modify()
106 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) argument
111 #define pte_none(pte) (!pte_val(pte)) argument
112 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
115 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) argument
116 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
151 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write()
152 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
153 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
155 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect()
156 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
157 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
158 static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } in pte_mkwrite()
159 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
160 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
161 static inline pte_t pte_mknocache(pte_t pte) in pte_mknocache()
166 static inline pte_t pte_mkcache(pte_t pte) in pte_mkcache()
190 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
193 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
198 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
204 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()