Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/include/asm/
A Dpgtable-prot.h69 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY)
70 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
84 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | …
86 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | …
87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WR…
88 #define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)
89 #define PAGE_READONLY_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN)
90 #define PAGE_EXECONLY __pgprot(_PAGE_DEFAULT | PTE_RDONLY | PTE_NG | PTE_PXN)
A Dpgtable.h123 #define pte_hw_dirty(pte) (pte_write(pte) && !(pte_val(pte) & PTE_RDONLY))
186 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkwrite()
193 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkclean()
203 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkdirty()
218 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_wrprotect()
821 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
A Dkernel-pgtable.h115 #define SWAPPER_RX_MMUFLAGS (SWAPPER_RW_MMUFLAGS | PTE_RDONLY)
A Dpgtable-hwdef.h148 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */ macro
/linux-6.3-rc2/arch/arm64/mm/
A Dpageattr.c106 rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || in change_memory_common()
107 pgprot_val(clear_mask) == PTE_RDONLY)) { in change_memory_common()
126 __pgprot(PTE_RDONLY), in set_memory_ro()
134 __pgprot(PTE_RDONLY)); in set_memory_rw()
182 .clear_mask = __pgprot(PTE_RDONLY), in set_direct_map_default_noflush()
A Dptdump.c106 .mask = PTE_RDONLY,
107 .val = PTE_RDONLY,
240 if ((st->current_prot & PTE_RDONLY) == PTE_RDONLY) in note_prot_wx()
A Dfault.c209 pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; in ptep_set_access_flags()
217 pte_val(entry) ^= PTE_RDONLY; in ptep_set_access_flags()
221 pteval ^= PTE_RDONLY; in ptep_set_access_flags()
223 pteval ^= PTE_RDONLY; in ptep_set_access_flags()
A Dmmu.c142 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG; in pgattr_change_is_safe()
/linux-6.3-rc2/arch/arm64/kernel/
A Defi.c112 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in set_permissions()

Completed in 17 milliseconds