Lines Matching defs:pte
205 #define pte_none(pte) (pte_val(pte) == _PAGE_INVALID) argument
206 #define pte_present(pte) \ argument
217 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write()
218 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
219 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
220 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
221 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
223 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
225 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
227 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
229 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
231 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
233 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
235 static inline pte_t pte_mkspecial(pte_t pte) in pte_mkspecial()
243 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
249 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
289 pte_t pte = *ptep; in ptep_test_and_clear_young() local
299 pte_t pte = *ptep; in ptep_get_and_clear() local
307 pte_t pte = *ptep; in ptep_set_wrprotect() local
327 #define pte_unmap(pte) do { } while (0) argument
353 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
357 #define pte_to_pgoff(pte) (pte_val(pte) >> 4) argument