Searched refs:_PAGE_NX (Results 1 – 17 of 17) sorted by relevance
/arch/mn10300/include/asm/ |
D | pgtable.h | 136 #define _PAGE_NX 0 /* no-execute bit */ macro 159 #define PAGE_NONE __pgprot(__PAGE_NONE | _PAGE_NX) 160 #define PAGE_SHARED_NOEXEC __pgprot(__PAGE_SHARED | _PAGE_NX) 161 #define PAGE_COPY_NOEXEC __pgprot(__PAGE_COPY | _PAGE_NX) 162 #define PAGE_READONLY_NOEXEC __pgprot(__PAGE_READONLY | _PAGE_NX) 172 #define __PAGE_KERNEL (__PAGE_KERNEL_BASE | _PAGE_PROT_WKNU | _PAGE_CACHE | _PAGE_NX) 173 #define __PAGE_KERNEL_NOCACHE (__PAGE_KERNEL_BASE | _PAGE_PROT_WKNU | _PAGE_NX) 174 #define __PAGE_KERNEL_EXEC (__PAGE_KERNEL & ~_PAGE_NX) 175 #define __PAGE_KERNEL_RO (__PAGE_KERNEL_BASE | _PAGE_PROT_RKNU | _PAGE_CACHE | _PAGE_NX) 186 #define __PAGE_USERIO (__PAGE_KERNEL_BASE | _PAGE_PROT_WKWU | _PAGE_NX) [all …]
|
/arch/x86/mm/ |
D | setup_nx.c | 36 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx() 38 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
|
D | kaiser.c | 202 if (!(__supported_pte_mask & _PAGE_NX)) in kaiser_add_user_map() 203 flags &= ~_PAGE_NX; in kaiser_add_user_map() 447 if (__supported_pte_mask & _PAGE_NX) in kaiser_set_shadow_pgd() 448 pgd.pgd |= _PAGE_NX; in kaiser_set_shadow_pgd()
|
D | pageattr.c | 263 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 272 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 947 if (!(pgprot_val(pgprot) & _PAGE_NX)) in populate_pte() 948 cpa->pfn &= ~_PAGE_NX; in populate_pte() 1463 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr() 1719 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x() 1722 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x() 1728 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx() 1731 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx() 1992 if (!(__supported_pte_mask & _PAGE_NX)) in kernel_map_pages_in_pgd() [all …]
|
D | init_32.c | 541 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL); 919 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx() 959 if (__supported_pte_mask & _PAGE_NX) in mark_rodata_ro()
|
D | dump_pagetables.c | 168 if (pr & _PAGE_NX) in printk_prot() 222 if (st->check_wx && (pr & _PAGE_RW) && !(pr & _PAGE_NX)) { in note_page()
|
D | pageattr-test.c | 84 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
|
/arch/x86/include/asm/ |
D | pgtable_types.h | 87 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro 89 #define _PAGE_NX (_AT(pteval_t, 0)) macro 157 _PAGE_ACCESSED | _PAGE_NX) 162 _PAGE_ACCESSED | _PAGE_NX) 167 _PAGE_ACCESSED | _PAGE_NX) 173 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
|
D | pgtable.h | 143 return !(pte_flags(pte) & _PAGE_NX); in pte_exec() 236 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec() 717 ignore_flags |= _PAGE_NX; in pgd_bad()
|
/arch/mn10300/mm/ |
D | mmu-context.c | 51 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
|
/arch/x86/platform/efi/ |
D | efi_32.c | 90 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
|
D | efi_64.c | 67 if (!(__supported_pte_mask & _PAGE_NX)) in early_code_mapping_set_exec() 164 if (kernel_map_pages_in_pgd(pgd, pa_memmap, pa_memmap, num_pages, _PAGE_NX)) { in efi_setup_page_tables() 309 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
|
D | efi.c | 861 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
|
/arch/x86/kernel/ |
D | head64.c | 39 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
|
D | espfix_64.c | 102 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
|
D | tboot.c | 151 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
|
/arch/x86/pci/ |
D | pcbios.c | 46 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
|