Symbol: _PAGE_NX
arch/x86/coco/sev/core.c
953
pflags = _PAGE_NX | _PAGE_RW;
arch/x86/hyperv/hv_crash.c
236
p4d->p4d = p4d->p4d & ~(_PAGE_NX); /* enable execute */
arch/x86/hyperv/hv_crash.c
518
p4d->p4d &= ~(_PAGE_NX); /* enable execute */
arch/x86/include/asm/pgtable.h
1105
ignore_flags |= _PAGE_NX;
arch/x86/include/asm/pgtable.h
1151
ignore_flags |= _PAGE_NX;
arch/x86/include/asm/pgtable.h
250
return !(pte_flags(pte) & _PAGE_NX);
arch/x86/include/asm/pgtable.h
450
return pte_clear_flags(pte, _PAGE_NX);
arch/x86/include/asm/pgtable_types.h
194
#define __NX _PAGE_NX
arch/x86/include/asm/pgtable_types.h
299
return __pgprot(pgprot_val(prot) | _PAGE_NX);
arch/x86/include/asm/tlbflush.h
378
_PAGE_PKEY_BIT2 | _PAGE_PKEY_BIT3 | _PAGE_NX;
arch/x86/kernel/espfix_64.c
93
#define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
arch/x86/kernel/head64.c
52
pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
arch/x86/kernel/setup.c
850
__supported_pte_mask |= _PAGE_NX;
arch/x86/kernel/setup.c
852
__supported_pte_mask &= ~_PAGE_NX;
arch/x86/kernel/tboot.c
146
pgd->pgd &= ~_PAGE_NX;
arch/x86/mm/dump_pagetables.c
219
if (pr & _PAGE_NX)
arch/x86/mm/dump_pagetables.c
246
WARN_ONCE(__supported_pte_mask & _PAGE_NX,
arch/x86/mm/dump_pagetables.c
261
((higher_prot | prot) & _PAGE_NX);
arch/x86/mm/dump_pagetables.c
338
if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX))
arch/x86/mm/dump_pagetables.c
495
if (!(__supported_pte_mask & _PAGE_NX) ||
arch/x86/mm/dump_pagetables.c
507
if (!(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/init_32.c
500
#define DEFAULT_PTE_MASK ~(_PAGE_NX | _PAGE_GLOBAL)
arch/x86/mm/init_32.c
735
if (__supported_pte_mask & _PAGE_NX)
arch/x86/mm/pat/cpa-test.c
85
if (!(pte_val(*pte) & _PAGE_NX)) {
arch/x86/mm/pat/set_memory.c
1936
if (__supported_pte_mask & _PAGE_NX) {
arch/x86/mm/pat/set_memory.c
1937
alias_cpa.mask_clr.pgprot &= ~_PAGE_NX;
arch/x86/mm/pat/set_memory.c
1938
alias_cpa.mask_set.pgprot &= ~_PAGE_NX;
arch/x86/mm/pat/set_memory.c
1967
if (__supported_pte_mask & _PAGE_NX) {
arch/x86/mm/pat/set_memory.c
1968
alias_cpa.mask_clr.pgprot &= ~_PAGE_NX;
arch/x86/mm/pat/set_memory.c
1969
alias_cpa.mask_set.pgprot &= ~_PAGE_NX;
arch/x86/mm/pat/set_memory.c
2288
if (!(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/pat/set_memory.c
2291
return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0);
arch/x86/mm/pat/set_memory.c
2296
if (!(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/pat/set_memory.c
2299
return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0);
arch/x86/mm/pat/set_memory.c
2311
if (__supported_pte_mask & _PAGE_NX)
arch/x86/mm/pat/set_memory.c
2312
clr.pgprot |= _PAGE_NX;
arch/x86/mm/pat/set_memory.c
2703
.mask_clr = __pgprot(~page_flags & (_PAGE_NX|_PAGE_RW|_PAGE_DIRTY)),
arch/x86/mm/pat/set_memory.c
2709
if (!(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/pat/set_memory.c
496
return _PAGE_NX;
arch/x86/mm/pat/set_memory.c
540
return _PAGE_NX;
arch/x86/mm/pat/set_memory.c
679
if (!(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/pat/set_memory.c
682
if (!((pgprot_val(old) ^ pgprot_val(new)) & (_PAGE_RW | _PAGE_NX)))
arch/x86/mm/pat/set_memory.c
685
if ((pgprot_val(new) & (_PAGE_RW | _PAGE_NX)) != _PAGE_RW)
arch/x86/mm/pat/set_memory.c
727
*nx |= pgd_flags(*pgd) & _PAGE_NX;
arch/x86/mm/pat/set_memory.c
738
*nx |= p4d_flags(*p4d) & _PAGE_NX;
arch/x86/mm/pat/set_memory.c
749
*nx |= pud_flags(*pud) & _PAGE_NX;
arch/x86/mm/pat/set_memory.c
760
*nx |= pmd_flags(*pmd) & _PAGE_NX;
arch/x86/mm/pti.c
165
(__supported_pte_mask & _PAGE_NX))
arch/x86/mm/pti.c
166
pgd.pgd |= _PAGE_NX;
arch/x86/pci/pcbios.c
62
if (__supported_pte_mask & _PAGE_NX)
arch/x86/platform/efi/efi_32.c
131
if (__supported_pte_mask & _PAGE_NX) {
arch/x86/platform/efi/efi_64.c
193
pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC;
arch/x86/platform/efi/efi_64.c
253
pf = _PAGE_NX | _PAGE_ENC;
arch/x86/platform/efi/efi_64.c
291
flags |= _PAGE_NX;
arch/x86/platform/efi/efi_64.c
403
pf |= _PAGE_NX;
arch/x86/power/hibernate.c
173
set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX));
arch/x86/power/hibernate.c
178
set_pud(pud, __pud(pud_val(*pud) & ~_PAGE_NX));
arch/x86/power/hibernate.c
183
set_pmd(pmd, __pmd(pmd_val(*pmd) & ~_PAGE_NX));
arch/x86/power/hibernate.c
187
set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX));
arch/x86/xen/mmu_pv.c
1824
if (__supported_pte_mask & _PAGE_NX) {
arch/x86/xen/mmu_pv.c
1828
level2_ident_pgt[i] = pmd_set_flags(level2_ident_pgt[i], _PAGE_NX);
drivers/video/fbdev/uvesafb.c
805
if (__supported_pte_mask & _PAGE_NX) {