Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/include/asm/
Dpgtable-prot.h36 #define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_n…
37 #define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nG…
38 #define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
39 #define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
40 #define PROT_NORMAL_TAGGED (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_T…
46 #define _PAGE_DEFAULT (_PROT_DEFAULT | PTE_ATTRINDX(MT_NORMAL))
Dpgtable.h112 PTE_ATTRINDX(MT_NORMAL_TAGGED))
564 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN)
566 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
568 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
570 __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_TAGGED))
582 PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
Dkernel-pgtable.h117 #define SWAPPER_RW_MMUFLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS | PTE_WRITE)
Dpgtable-hwdef.h170 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2) macro
/Linux-v6.6/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.c163 if (((old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
164 (old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED)) && in pgattr_change_is_safe()
165 ((new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
166 (new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED))) in pgattr_change_is_safe()
Dproc.S202 #define KPTI_NG_PTE_FLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS | PTE_WRITE)
/Linux-v6.6/drivers/tee/optee/
Dcall.c489 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL); in is_normal_memory()