Home
last modified time | relevance | path

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

/linux/arch/arm64/include/asm/
A Dpgtable-prot.h68 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY)
69 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
83 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | …
85 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | …
86 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WR…
87 #define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)
88 #define PAGE_READONLY_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN)
89 #define PAGE_EXECONLY __pgprot(_PAGE_DEFAULT | PTE_RDONLY | PTE_NG | PTE_PXN)
A Dpgtable.h115 #define pte_hw_dirty(pte) (pte_write(pte) && !(pte_val(pte) & PTE_RDONLY))
178 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkwrite()
185 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkclean()
195 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkdirty()
210 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_wrprotect()
762 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
A Dpgtable-hwdef.h148 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */ macro
/linux/arch/arm64/mm/
A Dpageattr.c99 if (rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || in change_memory_common()
100 pgprot_val(clear_mask) == PTE_RDONLY)) { in change_memory_common()
119 __pgprot(PTE_RDONLY), in set_memory_ro()
127 __pgprot(PTE_RDONLY)); in set_memory_rw()
175 .clear_mask = __pgprot(PTE_RDONLY), in set_direct_map_default_noflush()
A Dptdump.c108 .mask = PTE_RDONLY,
109 .val = PTE_RDONLY,
242 if ((st->current_prot & PTE_RDONLY) == PTE_RDONLY) in note_prot_wx()
A Dfault.c208 pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; in ptep_set_access_flags()
216 pte_val(entry) ^= PTE_RDONLY; in ptep_set_access_flags()
220 pteval ^= PTE_RDONLY; in ptep_set_access_flags()
222 pteval ^= PTE_RDONLY; in ptep_set_access_flags()
A Dmmu.c128 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG; in pgattr_change_is_safe()
/linux/arch/arm64/kernel/
A Defi.c92 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in set_permissions()

Completed in 16 milliseconds