Searched refs:_PAGE_NX (Results 1 – 16 of 16) sorted by relevance
/linux-4.1.27/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 …]
|
/linux-4.1.27/arch/x86/mm/ |
D | setup_nx.c | 35 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx() 37 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
|
D | pageattr.c | 263 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 272 pgprot_val(forbidden) |= _PAGE_NX; in static_protections() 889 if (!(pgprot_val(pgprot) & _PAGE_NX)) in populate_pte() 890 cpa->pfn &= ~_PAGE_NX; in populate_pte() 1404 checkalias = (pgprot_val(mask_set) | pgprot_val(mask_clr)) != _PAGE_NX; in change_page_attr_set_clr() 1635 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_x() 1638 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_x() 1644 if (!(__supported_pte_mask & _PAGE_NX)) in set_memory_nx() 1647 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0); in set_memory_nx() 1897 if (!(__supported_pte_mask & _PAGE_NX)) in kernel_map_pages_in_pgd() [all …]
|
D | pageattr-test.c | 82 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
|
D | init_32.c | 541 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL); 920 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx()
|
D | dump_pagetables.c | 165 if (pr & _PAGE_NX) in printk_prot()
|
/linux-4.1.27/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 130 _PAGE_ACCESSED | _PAGE_NX) 135 _PAGE_ACCESSED | _PAGE_NX) 140 _PAGE_ACCESSED | _PAGE_NX) 146 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
|
D | pgtable.h | 130 return !(pte_flags(pte) & _PAGE_NX); in pte_exec() 208 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec()
|
/linux-4.1.27/arch/mn10300/mm/ |
D | mmu-context.c | 51 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
|
/linux-4.1.27/arch/x86/platform/efi/ |
D | efi_32.c | 90 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
|
D | efi_64.c | 66 if (!(__supported_pte_mask & _PAGE_NX)) in early_code_mapping_set_exec() 163 if (kernel_map_pages_in_pgd(pgd, pa_memmap, pa_memmap, num_pages, _PAGE_NX)) { in efi_setup_page_tables() 308 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
|
D | efi.c | 834 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
|
/linux-4.1.27/arch/x86/kernel/ |
D | head64.c | 38 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
|
D | espfix_64.c | 101 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
|
/linux-4.1.27/arch/x86/pci/ |
D | pcbios.c | 46 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | uvesafb.c | 816 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()
|