Searched refs:PTE_RDONLY (Results 1 - 8 of 8) sorted by relevance
/linux-master/arch/arm64/include/asm/ |
H A D | pgtable-prot.h | 49 #define _PAGE_KERNEL_RO ((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY) 50 #define _PAGE_KERNEL_ROX ((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY) 54 #define _PAGE_SHARED (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE) 55 #define _PAGE_SHARED_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE) 56 #define _PAGE_READONLY (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN) 57 #define _PAGE_READONLY_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN) 58 #define _PAGE_EXECONLY (_PAGE_DEFAULT | PTE_RDONLY | PTE_NG | PTE_PXN) 106 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN) 107 /* shared+writable pages are clean by default, hence PTE_RDONLY|PTE_WRITE */
|
H A D | pgtable-hwdef.h | 164 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */ macro
|
H A D | pgtable.h | 112 #define pte_rdonly(pte) (!!(pte_val(pte) & PTE_RDONLY)) 197 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); 204 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); 214 pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY)); 222 * If hardware-dirty (PTE_WRITE/DBM bit set and PTE_RDONLY 229 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY)); 300 * Dirty Writable | PTE_RDONLY PTE_WRITE PTE_DIRTY (sw) 309 * PTE_DIRTY || (PTE_WRITE && !PTE_RDONLY) 1029 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | 1213 * dirty status (PTE_DBM && !PTE_RDONLY) t [all...] |
/linux-master/arch/arm64/mm/ |
H A D | pageattr.c | 108 if (rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || 109 pgprot_val(clear_mask) == PTE_RDONLY)) { 128 __pgprot(PTE_RDONLY), 136 __pgprot(PTE_RDONLY)); 184 .clear_mask = __pgprot(PTE_RDONLY),
|
H A D | ptdump.c | 79 .mask = PTE_RDONLY, 80 .val = PTE_RDONLY, 213 if ((st->current_prot & PTE_RDONLY) == PTE_RDONLY)
|
H A D | fault.c | 223 pte_val(entry) &= PTE_RDONLY | PTE_AF | PTE_WRITE | PTE_DIRTY; 227 * hardware update of the access/dirty state. The PTE_RDONLY bit must 231 pte_val(entry) ^= PTE_RDONLY; 235 pteval ^= PTE_RDONLY; 237 pteval ^= PTE_RDONLY;
|
H A D | mmu.c | 143 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG;
|
/linux-master/arch/arm64/kernel/ |
H A D | efi.c | 109 pte = set_pte_bit(pte, __pgprot(PTE_RDONLY));
|
Completed in 140 milliseconds