Lines Matching defs:pte
295 { pte_t pte; pte_val(pte) = ((type & 0x7f) << 16) | (offset << 24); return pte; } in mk_swap_pte() local
300 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
305 static inline int pte_swp_exclusive(pte_t pte) in pte_swp_exclusive()
310 static inline pte_t pte_swp_mkexclusive(pte_t pte) in pte_swp_mkexclusive()
316 static inline pte_t pte_swp_clear_exclusive(pte_t pte) in pte_swp_clear_exclusive()
324 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
325 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
326 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC) argument
340 pte_t pte = ptep_get(ptep); in pte_clear() local
356 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
357 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
358 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & (_PAGE_DIRTY | _PAGE_MODIFIED); } in pte_dirty()
360 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
366 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
372 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
378 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
386 static inline pte_t pte_mkwrite_novma(pte_t pte) in pte_mkwrite_novma()
394 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
400 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; } in pte_huge()
402 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge()
409 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
410 static inline pte_t pte_mkspecial(pte_t pte) { pte_val(pte) |= _PAGE_SPECIAL; return pte; } in pte_mkspecial()
413 static inline int pte_devmap(pte_t pte) { return !!(pte_val(pte) & _PAGE_DEVMAP); } in pte_devmap()
414 static inline pte_t pte_mkdevmap(pte_t pte) { pte_val(pte) |= _PAGE_DEVMAP; return pte; } in pte_mkdevmap()
435 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
602 static inline long pte_protnone(pte_t pte) in pte_protnone()