Home
last modified time | relevance | path

Searched refs:_PAGE_ENC (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dpgtable_types.h186 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask)) macro
189 _PAGE_DIRTY | _PAGE_ENC)
192 #define __PAGE_KERNEL_ENC (__PAGE_KERNEL | _PAGE_ENC)
193 #define __PAGE_KERNEL_ENC_WP (__PAGE_KERNEL_WP | _PAGE_ENC)
200 #define PAGE_KERNEL default_pgprot(__PAGE_KERNEL | _PAGE_ENC)
202 #define PAGE_KERNEL_RO default_pgprot(__PAGE_KERNEL_RO | _PAGE_ENC)
203 #define PAGE_KERNEL_EXEC default_pgprot(__PAGE_KERNEL_EXEC | _PAGE_ENC)
205 #define PAGE_KERNEL_RX default_pgprot(__PAGE_KERNEL_RX | _PAGE_ENC)
206 #define PAGE_KERNEL_NOCACHE default_pgprot(__PAGE_KERNEL_NOCACHE | _PAGE_ENC)
207 #define PAGE_KERNEL_LARGE default_pgprot(__PAGE_KERNEL_LARGE | _PAGE_ENC)
[all …]
/Linux-v5.4/arch/x86/platform/efi/
Defi_64.c359 pf = _PAGE_NX | _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables()
378 pf |= _PAGE_ENC; in efi_setup_page_tables()
405 pf = _PAGE_RW | _PAGE_ENC; in efi_setup_page_tables()
424 flags |= _PAGE_ENC; in __map_region()
553 pf |= _PAGE_ENC; in efi_update_mem_attr()
607 pf |= _PAGE_ENC; in efi_runtime_update_mappings()
/Linux-v5.4/arch/x86/mm/
Dmem_encrypt.c224 pgprot_val(new_prot) |= _PAGE_ENC; in __set_clr_pte_enc()
226 pgprot_val(new_prot) &= ~_PAGE_ENC; in __set_clr_pte_enc()
Dkasan_init_64.c269 __PAGE_KERNEL | _PAGE_ENC; in kasan_early_init()
385 prot = __pgprot(__PAGE_KERNEL_RO | _PAGE_ENC); in kasan_init()
Dmem_encrypt_identity.c51 #define PMD_FLAGS_ENC (PMD_FLAGS_LARGE | _PAGE_ENC)
59 #define PTE_FLAGS_ENC (PTE_FLAGS | _PAGE_ENC)
Dpageattr.c1955 cpa.mask_set = enc ? __pgprot(_PAGE_ENC) : __pgprot(0); in __set_memory_enc_dec()
1956 cpa.mask_clr = enc ? __pgprot(0) : __pgprot(_PAGE_ENC); in __set_memory_enc_dec()
2233 if (!(page_flags & _PAGE_ENC)) in kernel_map_pages_in_pgd()
/Linux-v5.4/arch/x86/kernel/
Despfix_64.c194 pte = __pte(__pa(stack_page) | ((__PAGE_KERNEL_RO | _PAGE_ENC) & ptemask)); in init_espfix_ap()
Dmachine_kexec_64.c211 info.page_flag |= _PAGE_ENC; in init_pgtable()
212 info.kernpg_flag |= _PAGE_ENC; in init_pgtable()