Searched refs:PTE_RDONLY (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/arch/arm64/include/asm/ |
D | pgtable-prot.h | 56 #define _PAGE_KERNEL_RO ((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY) 57 #define _PAGE_KERNEL_ROX ((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY) 61 #define _PAGE_SHARED (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRI… 62 #define _PAGE_SHARED_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE) 63 #define _PAGE_READONLY (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN) 64 #define _PAGE_READONLY_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN) 65 #define _PAGE_EXECONLY (_PAGE_DEFAULT | PTE_RDONLY | PTE_NG | PTE_PXN) 113 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PRESENT_INVALID | PTE_RDONLY | PTE…
|
D | pgtable.h | 107 #define pte_rdonly(pte) (!!(pte_val(pte) & PTE_RDONLY)) 215 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkwrite_novma() 222 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkclean() 232 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_mkdirty() 247 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in pte_wrprotect() 1157 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
|
D | pgtable-hwdef.h | 163 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */ macro
|
/linux-6.12.1/arch/arm64/mm/ |
D | pageattr.c | 108 if (rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || in change_memory_common() 109 pgprot_val(clear_mask) == PTE_RDONLY)) { in change_memory_common() 128 __pgprot(PTE_RDONLY), in set_memory_ro() 136 __pgprot(PTE_RDONLY)); in set_memory_rw() 184 .clear_mask = __pgprot(PTE_RDONLY), in set_direct_map_default_noflush()
|
D | ptdump.c | 53 .mask = PTE_RDONLY, 54 .val = PTE_RDONLY, 180 if ((st->current_prot & PTE_RDONLY) == PTE_RDONLY) in note_prot_wx()
|
D | fault.c | 224 pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; in __ptep_set_access_flags() 232 pte_val(entry) ^= PTE_RDONLY; in __ptep_set_access_flags() 236 pteval ^= PTE_RDONLY; in __ptep_set_access_flags() 238 pteval ^= PTE_RDONLY; in __ptep_set_access_flags()
|
D | mmu.c | 128 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG | in pgattr_change_is_safe()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | efi.c | 111 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); in set_permissions()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | at.c | 776 switch (FIELD_GET(PTE_USER | PTE_RDONLY, wr.desc)) { in handle_at_slow() 823 if (!(wr.desc & PTE_RDONLY)) { in handle_at_slow()
|