Searched refs:_PAGE_NO_EXEC (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 46 #define _PAGE_NO_EXEC (_ULCAST_(1) << _PAGE_NO_EXEC_SHIFT) macro 89 #define __P000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ) 90 #define __P001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 91 #define __P010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 92 #define __P011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 98 #define __S000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ) 99 #define __S001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 100 #define __S010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE) 101 #define __S011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE)
|
H A D | pgtable.h | 29 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | cache.c | 161 protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 162 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 163 protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 164 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 170 protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 171 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 172 protection_map[10] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE | _PAGE_NO_READ); in setup_protection_map() 173 protection_map[11] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_WRITE); in setup_protection_map()
|
H A D | tlbex.c | 636 if (cpu_has_rixi && _PAGE_NO_EXEC != 0) { in build_convert_pte_to_entrylo() 640 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 642 ilog2(_PAGE_GLOBAL) - ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 2575 if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) { in check_pabits() 2599 if (fillbits >= ilog2(_PAGE_NO_EXEC)) in check_pabits()
|
/kernel/linux/linux-6.6/arch/loongarch/mm/ |
H A D | cache.c | 163 _PAGE_PROTNONE | _PAGE_NO_EXEC | 167 _PAGE_NO_EXEC), 170 _PAGE_NO_EXEC), 173 _PAGE_NO_EXEC), 183 _PAGE_PROTNONE | _PAGE_NO_EXEC | 187 _PAGE_NO_EXEC), 190 _PAGE_NO_EXEC | _PAGE_WRITE), 193 _PAGE_NO_EXEC | _PAGE_WRITE),
|
/kernel/linux/linux-6.6/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 | 610 if (cpu_has_rixi && _PAGE_NO_EXEC != 0) { in build_convert_pte_to_entrylo() 614 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 616 ilog2(_PAGE_GLOBAL) - ilog2(_PAGE_NO_EXEC)); in build_convert_pte_to_entrylo() 2517 if (!cpu_has_rixi || _PAGE_NO_EXEC == 0) { in check_pabits() 2541 if (fillbits >= ilog2(_PAGE_NO_EXEC)) in check_pabits()
|
/kernel/linux/linux-5.10/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 | 32 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_NO_EXEC | \ 44 * If _PAGE_NO_EXEC is not defined, we can't do page protection for 143 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC) 190 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|
/kernel/linux/linux-6.6/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 | 38 * If _PAGE_NO_EXEC is not defined, we can't do page protection for 117 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC) 164 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 50 #define _PAGE_NO_EXEC (_ULCAST_(1) << _PAGE_NO_EXEC_SHIFT) macro
|
H A D | pgtable.h | 313 #define pte_no_exec(pte) (pte_val(pte) & _PAGE_NO_EXEC)
|
Completed in 13 milliseconds