/Linux-v4.19/arch/powerpc/include/asm/ |
D | pte-common.h | 14 #ifndef _PAGE_EXEC 15 #define _PAGE_EXEC 0 macro 70 #define _PAGE_KERNEL_ROX (_PAGE_PRIVILEGED | _PAGE_RO | _PAGE_EXEC) 78 _PAGE_HWWRITE | _PAGE_EXEC) 128 _PAGE_RW | _PAGE_HWWRITE | _PAGE_DIRTY | _PAGE_EXEC) 157 _PAGE_EXEC) 160 _PAGE_EXEC) 163 _PAGE_EXEC)
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | pgtable.h | 138 #define _PAGE_EXEC 0x400 /* software: page is executable */ macro 165 #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 171 | _PAGE_SHARED | _PAGE_EXEC) 173 #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 177 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 180 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC) 183 | _PAGE_SHARED | _PAGE_DIRTY | _PAGE_EXEC | _PAGE_CI) 240 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 260 pte_val(pte) &= ~(_PAGE_EXEC); in pte_exprotect() 290 pte_val(pte) |= _PAGE_EXEC; in pte_mkexec()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pgtable.c | 76 #if defined(CONFIG_PPC_STD_MMU) || _PAGE_EXEC == 0 120 if (!(pte_val(pte) & _PAGE_EXEC) || !pte_looks_normal(pte)) in set_pte_filter() 140 return __pte(pte_val(pte) & ~_PAGE_EXEC); in set_pte_filter() 153 if (dirty || (pte_val(pte) & _PAGE_EXEC) || !is_exec_fault()) in set_access_flags_filter() 179 return __pte(pte_val(pte) | _PAGE_EXEC); in set_access_flags_filter()
|
D | 40x_mmu.c | 110 unsigned long val = p | _PMD_SIZE_16M | _PAGE_EXEC | _PAGE_HWWRITE; in mmu_mapin_ram() 125 unsigned long val = p | _PMD_SIZE_4M | _PAGE_EXEC | _PAGE_HWWRITE; in mmu_mapin_ram()
|
D | dump_linuxpagetables.c | 134 .mask = _PAGE_EXEC, 135 .val = _PAGE_EXEC,
|
D | tlb_low_64e.S | 232 andi. r10,r11,_PAGE_EXEC|_PAGE_BAP_SX 252 li r11,_PAGE_PRESENT|_PAGE_EXEC /* Base perm */ 635 li r11,_PAGE_PRESENT|_PAGE_EXEC /* Base perm */ 772 andi. r10,r11,_PAGE_EXEC
|
D | pgtable_64.c | 235 flags &= ~_PAGE_EXEC; in ioremap_prot()
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | pgtable-bits.h | 28 #define _PAGE_EXEC (1 << 3) /* Executable */ macro 42 _PAGE_WRITE | _PAGE_EXEC | \
|
D | pgtable.h | 50 #define PAGE_EXEC __pgprot(_PAGE_BASE | _PAGE_EXEC) 51 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 53 _PAGE_EXEC | _PAGE_WRITE) 68 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) 196 return pte_val(pte) & _PAGE_EXEC; in pte_exec() 202 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge()
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | pgtable.h | 233 #ifndef _PAGE_EXEC 234 #define _PAGE_EXEC 0 macro 255 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 258 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 260 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 336 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() 348 { pte_val(pte) &= ~_PAGE_EXEC; return pte; } in pte_exprotect() 357 { pte_val(pte) |= _PAGE_USER | _PAGE_EXEC; return pte; } in pte_mkexec()
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 188 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update() 219 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update() 262 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
D | pte-40x.h | 50 #define _PAGE_EXEC 0x200 /* hardware: EX permission */ macro
|
D | pte-44x.h | 77 #define _PAGE_EXEC 0x00000004 /* H: Execute permission */ macro
|
D | pte-fsl-booke.h | 24 #define _PAGE_EXEC 0x00010 /* H: SX permission */ macro
|
D | pte-8xx.h | 43 #define _PAGE_EXEC 0x0040 /* Copied to PP (bit 21) in ITLB */ macro
|
/Linux-v4.19/arch/nios2/include/asm/ |
D | pgtable.h | 37 ((x) ? _PAGE_EXEC : 0) | \ 67 _PAGE_WRITE | _PAGE_EXEC | _PAGE_GLOBAL) 181 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
|
D | pgtable-bits.h | 21 #define _PAGE_EXEC (1<<21) macro
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | pgtable.h | 194 #define _PAGE_EXEC (1 << xlate_pabit(_PAGE_EXEC_BIT)) macro 208 #define _PAGE_KERNEL_EXEC (_PAGE_KERNEL_RO | _PAGE_EXEC) 237 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS… 239 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC…
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 21 #define _PAGE_EXEC 0x00001 /* execute permission */ macro 25 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 124 _PAGE_RW | _PAGE_EXEC) 144 _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_EXEC | \ 167 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC) 169 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 171 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
|
D | hash.h | 142 _PAGE_EXEC | _PAGE_SOFT_DIRTY); in hash__ptep_set_access_flags()
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/ |
D | pte-book3e.h | 51 #define _PAGE_EXEC _PAGE_BAP_UX /* .. and was cache cleaned */ macro
|
/Linux-v4.19/arch/powerpc/platforms/4xx/ |
D | ocm.c | 182 ioflags = _PAGE_NO_CACHE | _PAGE_GUARDED | _PAGE_EXEC; in ocm_init_node() 198 ioflags = _PAGE_EXEC; in ocm_init_node()
|
/Linux-v4.19/arch/openrisc/mm/ |
D | fault.c | 157 if ((vector == 0x400) && !(vma->vm_page_prot.pgprot & _PAGE_EXEC)) in do_page_fault()
|
/Linux-v4.19/arch/riscv/kernel/ |
D | setup.c | 127 pgprot_t prot = __pgprot(pgprot_val(PAGE_KERNEL) | _PAGE_EXEC); in setup_vm()
|
/Linux-v4.19/arch/nios2/mm/ |
D | tlb.c | 189 (tlbacc & _PAGE_EXEC ? 'x' : '-'), in dump_tlb_line()
|