Searched refs:PTE_ATTRINDX (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/arch/arm64/include/asm/ |
D | pgtable-prot.h | 36 #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))
|
D | pgtable.h | 112 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)
|
D | kernel-pgtable.h | 117 #define SWAPPER_RW_MMUFLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS | PTE_WRITE)
|
D | pgtable-hwdef.h | 170 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2) macro
|
/Linux-v6.6/arch/arm64/mm/ |
D | ptdump.c | 152 .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),
|
D | mmap.c | 99 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in vm_get_page_prot()
|
D | mmu.c | 163 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()
|
D | proc.S | 202 #define KPTI_NG_PTE_FLAGS (PTE_ATTRINDX(MT_NORMAL) | SWAPPER_PTE_FLAGS | PTE_WRITE)
|
/Linux-v6.6/drivers/tee/optee/ |
D | call.c | 489 return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL); in is_normal_memory()
|