Lines Matching defs:pte
294 { pte_t pte; pte_val(pte) = ((type & 0x7f) << 16) | (offset << 24); return pte; } in mk_swap_pte() local
299 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
304 static inline bool pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
309 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
315 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()
323 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
324 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
325 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) argument
339 pte_t pte = ptep_get(ptep); in pte_clear() local
355 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
356 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
357 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & (_PAGE_DIRTY | _PAGE_MODIFIED); } in pte_dirty()
359 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
365 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
371 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
377 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
385 static inline pte_t pte_mkwrite_novma(pte_t pte) in pte_mkwrite_novma()
393 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
399 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; } in pte_huge()
401 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge()
408 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
409 static inline pte_t pte_mkspecial(pte_t pte) { pte_val(pte) |= _PAGE_SPECIAL; return pte; } in pte_mkspecial()
425 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
581 static inline long pte_protnone(pte_t pte) in pte_protnone()