Home
last modified time | relevance | path

Searched refs:protection_map (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.1/arch/mips/mm/
Dcache.c162 static pgprot_t protection_map[16] __ro_after_init; variable
167 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
168 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
169 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
170 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
171 protection_map[4] = PM(_PAGE_PRESENT); in setup_protection_map()
172 protection_map[5] = PM(_PAGE_PRESENT); in setup_protection_map()
173 protection_map[6] = PM(_PAGE_PRESENT); in setup_protection_map()
174 protection_map[7] = PM(_PAGE_PRESENT); in setup_protection_map()
176 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()
[all …]
/Linux-v6.1/arch/x86/mm/
Dpgprot.c8 static pgprot_t protection_map[16] __ro_after_init = { variable
31 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in add_encrypt_protection_map()
32 protection_map[i] = pgprot_encrypted(protection_map[i]); in add_encrypt_protection_map()
37 unsigned long val = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/Linux-v6.1/arch/arm64/mm/
Dmmap.c16 static pgprot_t protection_map[16] __ro_after_init = { variable
72 protection_map[VM_EXEC] = PAGE_EXECONLY; in adjust_protection_map()
73 protection_map[VM_EXEC | VM_SHARED] = PAGE_EXECONLY; in adjust_protection_map()
82 pteval_t prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/Linux-v6.1/arch/sparc/mm/
Dinit_64.c2638 static pgprot_t protection_map[16] __ro_after_init; variable
2649 protection_map[0x0] = __pgprot(page_none); in prot_init_common()
2650 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2651 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2652 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2653 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()
2654 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()
2655 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()
2656 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()
2657 protection_map[0x8] = __pgprot(page_none); in prot_init_common()
[all …]
Dinit_32.c306 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/arc/mm/
Dmmap.c78 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/powerpc/include/asm/
Dpgtable.h82 extern const pgprot_t protection_map[16];
/Linux-v6.1/arch/nios2/mm/
Dinit.c127 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/m68k/mm/
Dsun3mmu.c99 static const pgprot_t protection_map[16] = { variable
Dmotorola.c394 static pgprot_t protection_map[16] __ro_after_init = { variable
436 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
Dmcfmmu.c237 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/openrisc/mm/
Dinit.c212 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/xtensa/mm/
Dinit.c221 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/sh/mm/
Dmmap.c22 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/csky/mm/
Dinit.c201 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/microblaze/mm/
Dinit.c289 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/s390/mm/
Dmmap.c192 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/hexagon/mm/
Dinit.c238 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/um/kernel/
Dmem.c220 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/loongarch/mm/
Dcache.c162 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/alpha/mm/
Dinit.c284 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/ia64/mm/
Dinit.c494 static const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/powerpc/mm/book3s64/
Dpgtable.c562 prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/Linux-v6.1/arch/powerpc/mm/
Dpgtable.c477 const pgprot_t protection_map[16] = { variable
/Linux-v6.1/arch/arm/mm/
Dmmu.c419 static pgprot_t protection_map[16] __ro_after_init = { variable
668 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()
669 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()

12