Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/include/asm/
Dpgtable-prot.h36 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n…
37 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG…
38 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
39 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
40 #define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_T…
50 #define _PAGE_KERNEL_ROX ((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
51 #define _PAGE_KERNEL_EXEC (PROT_NORMAL & ~PTE_PXN)
52 #define _PAGE_KERNEL_EXEC_CONT ((PROT_NORMAL & ~PTE_PXN) | PTE_CONT)
54 #define _PAGE_SHARED (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRI…
55 #define _PAGE_SHARED_EXEC (_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE)
[all …]
Dpgtable.h558 __pgprot_modify(prot, PTE_MAYBE_GP, PTE_PXN)
564 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN)
566 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
568 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
582 PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
821 const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | in pte_modify()
Dpgtable-hwdef.h155 #define PTE_PXN (_AT(pteval_t, 1) << 53) /* Privileged XN */ macro
/Linux-v6.6/arch/arm64/mm/
Dptdump.c111 .mask = PTE_PXN,
112 .val = PTE_PXN,
242 if ((st->current_prot & PTE_PXN) == PTE_PXN) in note_prot_wx()
Dpageattr.c143 __pgprot(PTE_PXN), in set_memory_nx()
151 __pgprot(PTE_PXN)); in set_memory_x()
Dmmu.c140 pteval_t mask = PTE_PXN | PTE_RDONLY | PTE_WRITE | PTE_NG; in pgattr_change_is_safe()
/Linux-v6.6/arch/arm64/kernel/
Defi.c115 pte = set_pte_bit(pte, __pgprot(PTE_PXN)); in set_permissions()