Lines Matching defs:pte
221 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) argument
222 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write()
247 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
251 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } in pte_uncache()
252 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } in pte_cache()
254 static inline pte_t pte_rdprotect(pte_t pte) \ in pte_rdprotect()
256 static inline pte_t pte_wrprotect(pte_t pte) \ in pte_wrprotect()
258 static inline pte_t pte_exprotect(pte_t pte) \ in pte_exprotect()
260 static inline pte_t pte_mkclean(pte_t pte) \ in pte_mkclean()
262 static inline pte_t pte_mkold(pte_t pte) \ in pte_mkold()
265 static inline pte_t pte_mkread(pte_t pte) \ in pte_mkread()
267 static inline pte_t pte_mkexec(pte_t pte) \ in pte_mkexec()
269 static inline pte_t pte_mkwrite(pte_t pte) \ in pte_mkwrite()
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()
283 pte_t pte; in mk_pte_phys() local
296 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
334 pte_t *ptep, pte_t pte) in set_pte()
340 pte_t *ptep, pte_t pte) in set_pte_at()
412 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 2 }) argument
415 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
420 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
426 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()