Home
last modified time | relevance | path

Searched refs:_PAGE_NX (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/arch/mn10300/include/asm/
Dpgtable.h136 #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/
Dsetup_nx.c35 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx()
37 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
Dpageattr.c263 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 …]
Dpageattr-test.c82 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
Dinit_32.c541 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL);
920 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx()
Ddump_pagetables.c165 if (pr & _PAGE_NX) in printk_prot()
/linux-4.1.27/arch/x86/include/asm/
Dpgtable_types.h87 #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)
Dpgtable.h130 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/
Dmmu-context.c51 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
/linux-4.1.27/arch/x86/platform/efi/
Defi_32.c90 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
Defi_64.c66 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()
Defi.c834 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
/linux-4.1.27/arch/x86/kernel/
Dhead64.c38 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
Despfix_64.c101 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
/linux-4.1.27/arch/x86/pci/
Dpcbios.c46 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
/linux-4.1.27/drivers/video/fbdev/
Duvesafb.c816 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()