Lines Matching defs:pte
238 static inline int pte_user(pte_t pte) { return pte_val(pte) & __PAGE_PROT_USER; } in pte_user()
239 static inline int pte_read(pte_t pte) { return pte_val(pte) & __PAGE_PROT_USER; } in pte_read()
240 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
241 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
242 static inline int pte_write(pte_t pte) { return pte_val(pte) & __PAGE_PROT_WRITE; } in pte_write()
243 static inline int pte_special(pte_t pte){ return 0; } in pte_special()
245 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect()
249 static inline pte_t pte_exprotect(pte_t pte) in pte_exprotect()
254 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
259 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean()
260 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold()
261 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty()
262 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung()
263 static inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_NX; return pte; } in pte_mkexec()
265 static inline pte_t pte_mkread(pte_t pte) in pte_mkread()
272 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
280 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
324 static inline int pte_exec(pte_t pte) in pte_exec()
332 static inline int pte_exec_kernel(pte_t pte) in pte_exec_kernel()
342 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
395 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
467 #define pte_unmap(pte) do {} while (0) argument