/arch/mips/mm/ |
D | cache.c | 179 static pgprot_t protection_map[16] __ro_after_init; variable 184 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 185 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 186 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() 187 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 188 protection_map[4] = PM(_PAGE_PRESENT); in setup_protection_map() 189 protection_map[5] = PM(_PAGE_PRESENT); in setup_protection_map() 190 protection_map[6] = PM(_PAGE_PRESENT); in setup_protection_map() 191 protection_map[7] = PM(_PAGE_PRESENT); in setup_protection_map() 193 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map() [all …]
|
/arch/x86/mm/ |
D | pgprot.c | 8 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()
|
/arch/arm64/mm/ |
D | mmap.c | 16 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()
|
/arch/sparc/mm/ |
D | init_64.c | 2651 static pgprot_t protection_map[16] __ro_after_init; variable 2662 protection_map[0x0] = __pgprot(page_none); in prot_init_common() 2663 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common() 2664 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2665 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2666 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common() 2667 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common() 2668 protection_map[0x6] = __pgprot(page_copy); in prot_init_common() 2669 protection_map[0x7] = __pgprot(page_copy); in prot_init_common() 2670 protection_map[0x8] = __pgprot(page_none); in prot_init_common() [all …]
|
D | init_32.c | 314 static const pgprot_t protection_map[16] = { variable
|
/arch/arc/mm/ |
D | mmap.c | 78 static const pgprot_t protection_map[16] = { variable
|
/arch/nios2/mm/ |
D | init.c | 127 static const pgprot_t protection_map[16] = { variable
|
/arch/m68k/mm/ |
D | sun3mmu.c | 99 static const pgprot_t protection_map[16] = { variable
|
D | motorola.c | 394 static pgprot_t protection_map[16] __ro_after_init = { variable 436 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
|
D | mcfmmu.c | 228 static const pgprot_t protection_map[16] = { variable
|
/arch/powerpc/include/asm/ |
D | pgtable.h | 96 extern const pgprot_t protection_map[16];
|
/arch/openrisc/mm/ |
D | init.c | 210 static const pgprot_t protection_map[16] = { variable
|
/arch/xtensa/mm/ |
D | init.c | 221 static const pgprot_t protection_map[16] = { variable
|
/arch/sh/mm/ |
D | mmap.c | 22 static const pgprot_t protection_map[16] = { variable
|
/arch/microblaze/mm/ |
D | init.c | 273 static const pgprot_t protection_map[16] = { variable
|
/arch/hexagon/mm/ |
D | init.c | 238 static const pgprot_t protection_map[16] = { variable
|
/arch/csky/mm/ |
D | init.c | 201 static const pgprot_t protection_map[16] = { variable
|
/arch/s390/mm/ |
D | mmap.c | 192 static const pgprot_t protection_map[16] = { variable
|
/arch/loongarch/mm/ |
D | cache.c | 161 static const pgprot_t protection_map[16] = { variable
|
/arch/um/kernel/ |
D | mem.c | 220 static const pgprot_t protection_map[16] = { variable
|
/arch/alpha/mm/ |
D | init.c | 284 static const pgprot_t protection_map[16] = { variable
|
/arch/powerpc/mm/ |
D | pgtable.c | 500 const pgprot_t protection_map[16] = { variable
|
/arch/ia64/mm/ |
D | init.c | 508 static const pgprot_t protection_map[16] = { variable
|
/arch/arm/mm/ |
D | mmu.c | 419 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()
|
/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 644 prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
|