Searched refs:_PAGE_NO_EXEC (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/mips/mm/ |
| H A D | cache.c | 184 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 185 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 186 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 187 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 193 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 194 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 195 protection_map[10] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE | in setup_protection_map() 197 protection_map[11] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE); in setup_protection_map()
|
| H A D | tlbex.c | 591 if (cpu_has_rixi && _PAGE_NO_EXEC != 0) { in build_convert_pte_to_entrylo() 595 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 597 ilog2(_PAGE_GLOBAL) - ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 2499 if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) { in check_pabits() 2523 if (fillbits >= ilog2(_PAGE_NO_EXEC)) in check_pabits()
|
| /linux/arch/loongarch/mm/ |
| H A D | cache.c | 163 _PAGE_NO_EXEC | _PAGE_NO_READ | 167 _PAGE_NO_EXEC), 170 _PAGE_NO_EXEC), 173 _PAGE_NO_EXEC), 183 _PAGE_NO_EXEC | _PAGE_NO_READ | 187 _PAGE_NO_EXEC), 190 _PAGE_NO_EXEC | _PAGE_WRITE), 193 _PAGE_NO_EXEC | _PAGE_WRITE),
|
| H A D | pageattr.c | 134 return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_NO_EXEC)); in set_memory_x() 142 return __set_memory(addr, numpages, __pgprot(_PAGE_NO_EXEC), __pgprot(0)); in set_memory_nx()
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable-bits.h | 174 # define _PAGE_NO_EXEC (1 << _PAGE_NO_EXEC_SHIFT) macro 176 # define _PAGE_NO_EXEC (cpu_has_rixi ? (1 << _PAGE_NO_EXEC_SHIFT) : 0) macro 191 #ifndef _PAGE_NO_EXEC 192 #define _PAGE_NO_EXEC 0 macro 230 ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); in pte_to_entrylo()
|
| H A D | pgtable.h | 117 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC) 164 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable-bits.h | 77 #define _PAGE_NO_EXEC 0 macro 81 #define _PAGE_NO_EXEC (_ULCAST_(1) << _PAGE_NO_EXEC_SHIFT) macro 133 return __pgprot(pgprot_val(_prot) | _PAGE_NO_EXEC); in pgprot_nx()
|
| H A D | pgtable.h | 350 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|