Lines Matching refs:pte_val
60 pte_basic_t old = pte_val(*p); in pte_update()
141 unsigned long set = pte_val(entry) & in __ptep_set_access_flags()
158 return __pte(pte_val(pte) | _PAGE_RW); in pte_mkwrite_novma()
164 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
169 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung()
175 return __pte(pte_val(pte) & ~_PAGE_WRITE); in pte_wrprotect()
182 return __pte(pte_val(pte) | _PAGE_EXEC); in pte_mkexec()
189 return pte_val(pte) & _PAGE_WRITE; in pte_write()
192 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
193 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
194 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
196 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci()
197 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
201 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
206 return pte_val(pte) & _PAGE_PRESENT; in pte_hw_valid()
211 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
222 return (pte_val(pte) & _PAGE_READ) == _PAGE_READ; in pte_read()
259 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect()
264 return __pte(pte_val(pte) & ~_PAGE_DIRTY); in pte_mkclean()
269 return __pte(pte_val(pte) & ~_PAGE_ACCESSED); in pte_mkold()
274 return __pte(pte_val(pte) | _PAGE_SPECIAL); in pte_mkspecial()
280 return __pte(pte_val(pte)); in pte_mkhuge()
286 return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)); in pte_modify()
291 return pte_val(pte) & _PAGE_SWP_EXCLUSIVE; in pte_swp_exclusive()
296 return __pte(pte_val(pte) | _PAGE_SWP_EXCLUSIVE); in pte_swp_mkexclusive()
301 return __pte(pte_val(pte) & ~_PAGE_SWP_EXCLUSIVE); in pte_swp_clear_exclusive()
330 ptep->pte3 = ptep->pte2 = ptep->pte1 = ptep->pte = pte_val(pte); in __set_pte_at()