Lines Matching defs:pte

235 # define pte_none(pte)	 (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER))  argument
237 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) argument
239 # define pte_present(pte) \ argument
251 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write()
252 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
253 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
255 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
257 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
259 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
261 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
263 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
265 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
277 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
283 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
327 pte_t pte = *ptep; in ptep_test_and_clear_young() local
337 pte_t pte = *ptep; in ptep_get_and_clear() local
345 pte_t pte = *ptep; in ptep_set_wrprotect() local
360 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
363 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
368 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
374 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()