| /linux/arch/mips/mm/ |
| H A 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 …]
|
| /linux/arch/arm64/mm/ |
| H A D | mmap.c | 16 static pgprot_t protection_map[16] __ro_after_init = { variable 74 protection_map[VM_EXEC] = PAGE_EXECONLY; in adjust_protection_map() 75 protection_map[VM_EXEC | VM_SHARED] = PAGE_EXECONLY; in adjust_protection_map() 79 for (int i = 0; i < ARRAY_SIZE(protection_map); i++) in adjust_protection_map() 80 pgprot_val(protection_map[i]) &= ~PTE_SHARED; in adjust_protection_map() 98 prot = pgprot_val(protection_map[VM_NONE]); in vm_get_page_prot() 100 prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
|
| /linux/arch/x86/mm/ |
| H A 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()
|
| /linux/arch/sparc/mm/ |
| H A D | init_64.c | 2622 static pgprot_t protection_map[16] __ro_after_init; variable 2633 protection_map[0x0] = __pgprot(page_none); in prot_init_common() 2634 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common() 2635 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2636 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2637 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common() 2638 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common() 2639 protection_map[0x6] = __pgprot(page_copy); in prot_init_common() 2640 protection_map[0x7] = __pgprot(page_copy); in prot_init_common() 2641 protection_map[0x8] = __pgprot(page_none); in prot_init_common() [all …]
|
| H A D | init_32.c | 285 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/s390/mm/ |
| H A D | mmap.c | 191 static pgprot_t protection_map[16] __ro_after_init; variable 195 pgprot_t *pm = protection_map; in setup_protection_map()
|
| /linux/arch/arc/mm/ |
| H A D | mmap.c | 62 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/m68k/mm/ |
| H A D | sun3mmu.c | 84 static const pgprot_t protection_map[16] = { variable
|
| H A D | motorola.c | 406 static pgprot_t protection_map[16] __ro_after_init = { variable 447 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
|
| H A D | mcfmmu.c | 218 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/um/kernel/ |
| H A D | mem.c | 129 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/nios2/mm/ |
| H A D | init.c | 116 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/xtensa/mm/ |
| H A D | init.c | 183 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable.h | 92 extern const pgprot_t protection_map[16];
|
| /linux/arch/microblaze/mm/ |
| H A D | init.c | 241 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/csky/mm/ |
| H A D | init.c | 134 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/sh/mm/ |
| H A D | mmap.c | 22 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/openrisc/mm/ |
| H A D | init.c | 240 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/hexagon/mm/ |
| H A D | init.c | 204 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/loongarch/mm/ |
| H A D | cache.c | 161 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/alpha/mm/ |
| H A D | init.c | 247 static const pgprot_t protection_map[16] = { variable
|
| /linux/arch/arm/mm/ |
| H A 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()
|
| /linux/arch/powerpc/mm/ |
| H A D | pgtable.c | 546 const pgprot_t protection_map[16] = { variable
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | pgtable.c | 661 prot = pgprot_val(protection_map[vm_flags & (VM_ACCESS_FLAGS | VM_SHARED)]); in vm_get_page_prot()
|
| /linux/arch/parisc/mm/ |
| H A D | init.c | 962 static const pgprot_t protection_map[16] = { variable
|