Lines Matching refs:pte

191 static inline int pte_dirty(pte_t pte)  in pte_dirty()  argument
193 return pte_val(pte) & _PAGE_DIRTY; in pte_dirty()
196 static inline int pte_young(pte_t pte) in pte_young() argument
198 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
201 static inline int pte_write(pte_t pte) in pte_write() argument
203 return pte_val(pte) & _PAGE_WRITE; in pte_write()
206 static inline int pte_special(pte_t pte) in pte_special() argument
211 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean() argument
213 pte_val(pte) &= ~_PAGE_DIRTY; in pte_mkclean()
214 return pte; in pte_mkclean()
217 static inline pte_t pte_mkold(pte_t pte) in pte_mkold() argument
219 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold()
220 return pte; in pte_mkold()
223 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() argument
225 pte_val(pte) &= ~_PAGE_WRITE; in pte_wrprotect()
226 return pte; in pte_wrprotect()
229 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty() argument
231 pte_val(pte) |= _PAGE_DIRTY; in pte_mkdirty()
232 return pte; in pte_mkdirty()
235 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung() argument
237 pte_val(pte) |= _PAGE_ACCESSED; in pte_mkyoung()
238 return pte; in pte_mkyoung()
241 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite() argument
243 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite()
244 return pte; in pte_mkwrite()
247 static inline pte_t pte_mkspecial(pte_t pte) in pte_mkspecial() argument
249 return pte; in pte_mkspecial()
281 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
283 set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) \ in pte_modify()
286 return pte; in pte_modify()
324 #define pte_unmap(pte) do { } while (0) argument
331 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument