Home
last modified time | relevance | path

Searched refs:PTE_RDONLY (Results 1 – 7 of 7) sorted by relevance

/arch/arm64/include/asm/
Dpgtable-prot.h60 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY)
61 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
66 #define PAGE_HYP_EXEC __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP | PTE_RDONLY)
67 #define PAGE_HYP_RO __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP | PTE_RDONLY | PTE_HYP_XN)
Dpgtable.h78 #define pte_hw_dirty(pte) (pte_write(pte) && !(pte_val(pte) & PTE_RDONLY))
177 return clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_clear_rdonly()
229 pte_val(pte) &= ~PTE_RDONLY; in set_pte_at()
231 pte_val(pte) |= PTE_RDONLY; in set_pte_at()
263 lhs &= ~PTE_RDONLY; in pte_same()
266 rhs &= ~PTE_RDONLY; in pte_same()
564 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
679 : "r" (PTE_DIRTY|PTE_RDONLY), "L" (PTE_RDONLY), "L" (~PTE_WRITE) in ptep_set_wrprotect()
Dpgtable-hwdef.h159 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */ macro
/arch/arm64/mm/
Dpageattr.c101 __pgprot(PTE_RDONLY), in set_memory_ro()
109 __pgprot(PTE_RDONLY)); in set_memory_rw()
Ddump.c86 .mask = PTE_RDONLY,
87 .val = PTE_RDONLY,
Dfault.c150 pte_val(entry) |= PTE_RDONLY; in ptep_set_access_flags()
164 : "L" (~PTE_RDONLY), "r" (pte_val(entry))); in ptep_set_access_flags()
/arch/arm64/kernel/
Defi.c95 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in set_permissions()