Lines Matching refs:_PAGE_PRIVILEGED
23 #define _PAGE_PRIVILEGED 0x00008 /* kernel access only */ macro
118 #define _PAGE_KERNEL_RW (_PAGE_PRIVILEGED | _PAGE_RW | _PAGE_DIRTY)
119 #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ)
120 #define _PAGE_KERNEL_ROX (_PAGE_PRIVILEGED | _PAGE_READ | _PAGE_EXEC)
121 #define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | \
148 #define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_PRIVILEGED)
435 return !(pte_raw(pte) & cpu_to_be64(_PAGE_RWX | _PAGE_PRIVILEGED)); in pte_savedwrite()
462 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 0); in ptep_set_wrprotect()
476 pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 1); in huge_ptep_set_wrprotect()
562 VM_BUG_ON((pte_raw(pte) & cpu_to_be64(_PAGE_PRESENT | _PAGE_RWX | _PAGE_PRIVILEGED)) != in pte_mk_savedwrite()
563 cpu_to_be64(_PAGE_PRESENT | _PAGE_PRIVILEGED)); in pte_mk_savedwrite()
564 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED)); in pte_mk_savedwrite()
574 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED)); in pte_clear_savedwrite()
617 return !(pte_raw(pte) & cpu_to_be64(_PAGE_PRIVILEGED)); in pte_user()
719 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED)); in pte_mkprivileged()
724 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED)); in pte_mkuser()
809 if ((access & _PAGE_PRIVILEGED) != (ptev & _PAGE_PRIVILEGED)) in check_pte_access()
1234 pmd_hugepage_update(mm, addr, pmdp, 0, _PAGE_PRIVILEGED); in pmdp_set_wrprotect()