Home
last modified time | relevance | path

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

/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 …]
/arch/x86/mm/
Dsetup_nx.c36 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx()
38 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
Dkaiser.c202 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()
Dpageattr.c263 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 …]
Dinit_32.c541 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()
Ddump_pagetables.c168 if (pr & _PAGE_NX) in printk_prot()
222 if (st->check_wx && (pr & _PAGE_RW) && !(pr & _PAGE_NX)) { in note_page()
Dpageattr-test.c84 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
/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
157 _PAGE_ACCESSED | _PAGE_NX)
162 _PAGE_ACCESSED | _PAGE_NX)
167 _PAGE_ACCESSED | _PAGE_NX)
173 #define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
Dpgtable.h143 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/
Dmmu-context.c51 if (!(pte_val(pte) & _PAGE_NX)) { in update_mmu_cache()
/arch/x86/platform/efi/
Defi_32.c90 if (__supported_pte_mask & _PAGE_NX) in efi_runtime_mkexec()
Defi_64.c67 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()
Defi.c861 if (efi_enabled(EFI_OLD_MEMMAP) && (__supported_pte_mask & _PAGE_NX)) in kexec_enter_virtual_mode()
/arch/x86/kernel/
Dhead64.c39 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
Despfix_64.c102 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
Dtboot.c151 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
/arch/x86/pci/
Dpcbios.c46 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()