Home
last modified time | relevance | path

Searched refs:PTE_ATTRINDX (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/arm64/include/asm/
Dpgtable-prot.h56 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n…
57 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG…
58 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
59 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
60 #define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_T…
66 #define _PAGE_DEFAULT (_PROT_DEFAULT | PTE_ATTRINDX(MT_NORMAL))
Dpgtable.h111 PTE_ATTRINDX(MT_NORMAL_TAGGED))
561 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN)
563 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
565 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
567 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_TAGGED))
579 PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
Dkernel-pgtable.h119 #define SWAPPER_RW_MMUFLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS)
Dpgtable-hwdef.h169 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2) macro
/linux-6.1.9/arch/arm64/mm/
Dptdump.c152 .val = PTE_ATTRINDX(MT_DEVICE_nGnRnE),
156 .val = PTE_ATTRINDX(MT_DEVICE_nGnRE),
160 .val = PTE_ATTRINDX(MT_NORMAL_NC),
164 .val = PTE_ATTRINDX(MT_NORMAL),
168 .val = PTE_ATTRINDX(MT_NORMAL_TAGGED),
Dmmap.c99 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in vm_get_page_prot()
Dmmu.c161 if (((old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
162 (old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED)) && in pgattr_change_is_safe()
163 ((new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
164 (new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED))) in pgattr_change_is_safe()
Dproc.S208 #define KPTI_NG_PTE_FLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS)
/linux-6.1.9/drivers/tee/optee/
Dcall.c489 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL); in is_normal_memory()