Lines Matching refs:pte_val
103 return __pte(pte_val(pte) | _PAGE_RW); in pte_mkwrite()
108 return __pte(pte_val(pte) | _PAGE_DIRTY); in pte_mkdirty()
113 return __pte(pte_val(pte) | _PAGE_ACCESSED); in pte_mkyoung()
118 return __pte(pte_val(pte) & ~_PAGE_RW); in pte_wrprotect()
175 return __pud(pte_val(pte)); in pte_pud()
192 unsigned long old = pte_val(*ptep); in pte_update()
204 return pte_val(pte) & _PAGE_ACCESSED; in pte_young()
230 if ((pte_val(*ptep) & _PAGE_RW) == 0) in ptep_set_wrprotect()
240 if ((pte_val(*ptep) & _PAGE_RW) == 0) in huge_ptep_set_wrprotect()
275 unsigned long bits = pte_val(entry) & in __ptep_set_access_flags()
278 unsigned long old = pte_val(*ptep); in __ptep_set_access_flags()
285 #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0)
288 pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
307 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) })