Searched refs:_PAGE_NX (Results 1 – 20 of 20) sorted by relevance
173 set_p4d(p4d, __p4d(p4d_val(*p4d) & ~_PAGE_NX)); in relocate_restore_code()178 set_pud(pud, __pud(pud_val(*pud) & ~_PAGE_NX)); in relocate_restore_code()183 set_pmd(pmd, __pmd(pmd_val(*pmd) & ~_PAGE_NX)); in relocate_restore_code()187 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_NX)); in relocate_restore_code()
496 return _PAGE_NX; in protect_pci_bios()540 return _PAGE_NX; in protect_kernel_text()679 if (!(__supported_pte_mask & _PAGE_NX)) in verify_rwx()682 if (!((pgprot_val(old) ^ pgprot_val(new)) & (_PAGE_RW | _PAGE_NX))) in verify_rwx()685 if ((pgprot_val(new) & (_PAGE_RW | _PAGE_NX)) != _PAGE_RW) in verify_rwx()727 *nx |= pgd_flags(*pgd) & _PAGE_NX; in lookup_address_in_pgd_attr()738 *nx |= p4d_flags(*p4d) & _PAGE_NX; in lookup_address_in_pgd_attr()749 *nx |= pud_flags(*pud) & _PAGE_NX; in lookup_address_in_pgd_attr()760 *nx |= pmd_flags(*pmd) & _PAGE_NX; in lookup_address_in_pgd_attr()1936 if (__supported_pte_mask & _PAGE_NX) { in cpa_process_alias()[all …]
85 if (!(pte_val(*pte) & _PAGE_NX)) { in print_split()
219 if (pr & _PAGE_NX) in printk_prot()246 WARN_ONCE(__supported_pte_mask & _PAGE_NX, in note_wx()261 ((higher_prot | prot) & _PAGE_NX); in effective_prot()338 if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX)) in note_page()495 if (!(__supported_pte_mask & _PAGE_NX) || in ptdump_walk_user_pgd_level_checkwx()507 if (!(__supported_pte_mask & _PAGE_NX)) in ptdump_walk_pgd_level_checkwx()
165 (__supported_pte_mask & _PAGE_NX)) in __pti_set_user_pgtbl()166 pgd.pgd |= _PAGE_NX; in __pti_set_user_pgtbl()
500 #define DEFAULT_PTE_MASK ~(_PAGE_NX | _PAGE_GLOBAL)735 if (__supported_pte_mask & _PAGE_NX) in mark_nxdata_nx()
122 #define _PAGE_NX (_AT(pteval_t, 1) << _PAGE_BIT_NX) macro125 #define _PAGE_NX (_AT(pteval_t, 0)) macro194 #define __NX _PAGE_NX299 return __pgprot(pgprot_val(prot) | _PAGE_NX); in pgprot_nx()
250 return !(pte_flags(pte) & _PAGE_NX); in pte_exec()450 return pte_clear_flags(pte, _PAGE_NX); in pte_mkexec()1105 ignore_flags |= _PAGE_NX; in p4d_bad()1151 ignore_flags |= _PAGE_NX; in pgd_bad()
378 _PAGE_PKEY_BIT2 | _PAGE_PKEY_BIT3 | _PAGE_NX; in pte_flags_need_flush()
193 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables()253 pf = _PAGE_NX | _PAGE_ENC; in efi_setup_page_tables()291 flags |= _PAGE_NX; in __map_region()403 pf |= _PAGE_NX; in efi_update_mem_attr()
131 if (__supported_pte_mask & _PAGE_NX) { in efi_runtime_update_mappings()
236 p4d->p4d = p4d->p4d & ~(_PAGE_NX); /* enable execute */ in hv_crash_fixup_kernpt()518 p4d->p4d &= ~(_PAGE_NX); /* enable execute */ in hv_crash_build_tramp_pt()
93 #define PGTABLE_PROT ((_KERNPG_TABLE & ~_PAGE_RW) | _PAGE_NX)
52 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
850 __supported_pte_mask |= _PAGE_NX; in x86_configure_nx()852 __supported_pte_mask &= ~_PAGE_NX; in x86_configure_nx()
146 pgd->pgd &= ~_PAGE_NX; in map_tboot_page()
62 if (__supported_pte_mask & _PAGE_NX) in set_bios_x()
1824 if (__supported_pte_mask & _PAGE_NX) { in xen_setup_kernel_pagetable()1828 level2_ident_pgt[i] = pmd_set_flags(level2_ident_pgt[i], _PAGE_NX); in xen_setup_kernel_pagetable()
953 pflags = _PAGE_NX | _PAGE_RW; in sev_es_efi_map_ghcbs_cas()
805 if (__supported_pte_mask & _PAGE_NX) { in uvesafb_vbe_init()