Lines Matching defs:pte
282 { pte_t pte; pte_val(pte) = ((type & 0x7f) << 16) | (offset << 24); return pte; } in mk_swap_pte() local
287 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
292 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
297 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
303 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()
311 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
312 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
313 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) argument
373 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
374 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
375 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & (_PAGE_DIRTY | _PAGE_MODIFIED); } in pte_dirty()
377 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
383 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
389 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
395 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
403 static inline pte_t pte_mkwrite_novma(pte_t pte) in pte_mkwrite_novma()
411 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
417 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; } in pte_huge()
419 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge()
426 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
427 static inline pte_t pte_mkspecial(pte_t pte) { pte_val(pte) |= _PAGE_SPECIAL; return pte; } in pte_mkspecial()
449 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
604 static inline long pte_protnone(pte_t pte) in pte_protnone()