/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
D | pte-40x.h | 49 #define _PAGE_EXEC 0x200 /* hardware: EX permission */ macro 59 #define _PAGE_KERNEL_ROX _PAGE_EXEC 61 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 81 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 83 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 85 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-44x.h | 77 #define _PAGE_EXEC 0x00000004 /* H: Execute permission */ macro 92 #define _PAGE_KERNEL_ROX _PAGE_EXEC 94 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 121 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 123 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 125 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-fsl-booke.h | 24 #define _PAGE_EXEC 0x00010 /* H: SX permission */ macro 35 #define _PAGE_KERNEL_ROX _PAGE_EXEC 37 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 67 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 69 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 71 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-8xx.h | 43 #define _PAGE_EXEC 0x0040 /* Copied to PP (bit 21) in ITLB */ macro 56 #define _PAGE_KERNEL_ROX (_PAGE_SH | _PAGE_RO | _PAGE_EXEC) 58 #define _PAGE_KERNEL_RWX (_PAGE_SH | _PAGE_DIRTY | _PAGE_EXEC) 83 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_EXEC) 85 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC) 87 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC)
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | pgtable.h | 133 #define _PAGE_EXEC 0x400 /* software: page is executable */ macro 160 #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 166 | _PAGE_SHARED | _PAGE_EXEC) 168 #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 172 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 175 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 178 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI) 235 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 253 pte_val(pte) &= ~(_PAGE_EXEC); in pte_exprotect() 283 pte_val(pte) |= _PAGE_EXEC; in pte_mkexec()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | pte-book3e.h | 51 #define _PAGE_EXEC _PAGE_BAP_UX /* .. and was cache cleaned */ macro 96 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 98 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 100 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pgtable.h | 54 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 130 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | pgtable.h | 84 #define PAGE_EXEC __pgprot(_PAGE_BASE | _PAGE_EXEC) 85 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 87 _PAGE_EXEC | _PAGE_WRITE) 103 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) 105 | _PAGE_EXEC) 156 (pmd_val(pmd) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pmd_leaf() 222 return pte_val(pte) & _PAGE_EXEC; in pte_exec() 228 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge()
|
D | pgtable-bits.h | 20 #define _PAGE_EXEC (1 << 3) /* Executable */ macro 40 _PAGE_WRITE | _PAGE_EXEC | \
|
D | pgtable-64.h | 50 (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pud_leaf()
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | pgtable.h | 213 #ifndef _PAGE_EXEC 214 #define _PAGE_EXEC 0 macro 235 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 238 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 240 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 304 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 316 { pte_val(pte) &= ~_PAGE_EXEC; return pte; } in pte_exprotect() 325 { pte_val(pte) |= _PAGE_USER | _PAGE_EXEC; return pte; } in pte_mkexec()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 12 #define _PAGE_KERNEL_ROX (_PAGE_EXEC) 14 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC) 70 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 72 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 74 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 326 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags() 358 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 425 return __pte(pte_val(pte) & ~_PAGE_EXEC); in pte_exprotect() 440 return __pte(pte_val(pte) | _PAGE_EXEC); in pte_mkexec()
|
D | hash.h | 29 #define _PAGE_EXEC 0x200 /* software: exec allowed */ macro
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | shared.c | 24 .mask = _PAGE_EXEC, 25 .val = _PAGE_EXEC,
|
D | 8xx.c | 41 .mask = _PAGE_EXEC, 42 .val = _PAGE_EXEC,
|
D | book3s64.c | 29 .mask = _PAGE_EXEC, 30 .val = _PAGE_EXEC,
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | 40x.c | 103 unsigned long val = p | _PMD_SIZE_16M | _PAGE_EXEC | _PAGE_RW; in mmu_mapin_ram() 118 unsigned long val = p | _PMD_SIZE_4M | _PAGE_EXEC | _PAGE_RW; in mmu_mapin_ram()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | ptdump.c | 137 .mask = _PAGE_EXEC, 138 .val = _PAGE_EXEC, 227 if ((st->current_prot & (_PAGE_WRITE | _PAGE_EXEC)) != in note_prot_wx() 228 (_PAGE_WRITE | _PAGE_EXEC)) in note_prot_wx()
|
D | pageattr.c | 145 return __set_memory(addr, numpages, __pgprot(_PAGE_EXEC), __pgprot(0)); in set_memory_x() 150 return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_EXEC)); in set_memory_nx()
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | pgtable.h | 36 ((x) ? _PAGE_EXEC : 0) | \ 66 _PAGE_WRITE | _PAGE_EXEC | _PAGE_GLOBAL) 173 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
|
D | pgtable-bits.h | 21 #define _PAGE_EXEC (1<<21) macro
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 18 #define _PAGE_EXEC 0x00001 /* execute permission */ macro 22 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 121 _PAGE_RW | _PAGE_EXEC) 149 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC) 151 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 153 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 505 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec() 645 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); in pte_exprotect() 660 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); in pte_mkexec()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | pgtable.h | 214 #define _PAGE_EXEC (1 << xlate_pabit(_PAGE_EXEC_BIT)) macro 228 #define _PAGE_KERNEL_EXEC (_PAGE_KERNEL_RO | _PAGE_EXEC) 255 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 257 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/ |
D | mmu.c | 124 wimgxpp = (flags & _PAGE_COHERENT) | (_PAGE_EXEC ? BPP_RX : BPP_XX); in setibat() 291 flags &= ~_PAGE_EXEC; in setbat() 293 if (flags & _PAGE_EXEC) in setbat()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 125 return __pte(pte_val(pte) | _PAGE_EXEC); in pte_mkexec() 279 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|