Lines Matching refs:pte_val
45 return pte_val(pte) & _PAGE_RW; in pte_write()
49 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
50 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
51 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
53 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci()
54 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
75 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
80 return pte_val(pte) & _PAGE_PRESENT; in pte_hw_valid()
91 return (pte_val(pte) & _PAGE_USER) == _PAGE_USER; in pte_user()
125 return pte_val(pte) >> PTE_RPN_SHIFT; } in pte_pfn()
130 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect()
135 return __pte(pte_val(pte) & ~_PAGE_DIRTY); in pte_mkclean()
140 return __pte(pte_val(pte) & ~_PAGE_ACCESSED); in pte_mkold()
145 return __pte(pte_val(pte) | _PAGE_SPECIAL); in pte_mkspecial()
151 return __pte(pte_val(pte)); in pte_mkhuge()
158 return __pte(pte_val(pte) & ~_PAGE_USER); in pte_mkprivileged()
165 return __pte(pte_val(pte) | _PAGE_USER); in pte_mkuser()
171 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
206 ptep->pte = ptep->pte1 = ptep->pte2 = ptep->pte3 = pte_val(pte); in __set_pte_at()