Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/include/asm/
A 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))
A Dpgtable.h111 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)
A Dkernel-pgtable.h114 #define SWAPPER_RW_MMUFLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS)
A Dpgtable-hwdef.h170 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2) macro
/linux-6.3-rc2/arch/arm64/mm/
A 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),
A Dmmap.c99 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in vm_get_page_prot()
A Dmmu.c165 if (((old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
166 (old & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED)) && in pgattr_change_is_safe()
167 ((new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL) || in pgattr_change_is_safe()
168 (new & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL_TAGGED))) in pgattr_change_is_safe()
A Dproc.S202 #define KPTI_NG_PTE_FLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS)
/linux-6.3-rc2/drivers/tee/optee/
A Dcall.c489 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL); in is_normal_memory()

Completed in 16 milliseconds