Lines Matching defs:pte
244 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) argument
246 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) argument
248 # define pte_present(pte) \ argument
260 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write()
261 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
262 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
263 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
265 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
267 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
269 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
271 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
273 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
275 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
277 static inline pte_t pte_mkspecial(pte_t pte) in pte_mkspecial()
287 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
293 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
337 pte_t pte = *ptep; in ptep_test_and_clear_young() local
347 pte_t pte = *ptep; in ptep_get_and_clear() local
355 pte_t pte = *ptep; in ptep_set_wrprotect() local
375 #define pte_unmap(pte) do { } while (0) argument
389 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument