Home
last modified time | relevance | path

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

/linux/arch/mips/mm/
H A Dcache.c179 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/sparc/mm/
H A Dinit_64.c2635 static pgprot_t protection_map[16] __ro_after_init; variable
2646 protection_map[0x0] = __pgprot(page_none); in prot_init_common()
2647 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2648 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2649 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2650 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()
2651 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()
2652 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()
2653 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()
2654 protection_map[0x8] = __pgprot(page_none); in prot_init_common()
[all …]
/linux/arch/arc/mm/
H A Dmmap.c62 static const pgprot_t protection_map[16] = { variable
/linux/arch/um/kernel/
H A Dmem.c129 static const pgprot_t protection_map[16] = { variable
/linux/arch/m68k/mm/
H A Dmotorola.c406 static pgprot_t protection_map[16] __ro_after_init = { variable
448 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
/linux/arch/powerpc/include/asm/
H A Dpgtable.h90 extern const pgprot_t protection_map[16];
/linux/arch/microblaze/mm/
H A Dinit.c243 static const pgprot_t protection_map[16] = { variable
/linux/arch/sh/mm/
H A Dmmap.c22 static const pgprot_t protection_map[16] = { variable
/linux/arch/openrisc/mm/
H A Dinit.c246 static const pgprot_t protection_map[16] = { variable
/linux/arch/loongarch/mm/
H A Dcache.c161 static const pgprot_t protection_map[16] = { variable
/linux/arch/alpha/mm/
H A Dinit.c249 static const pgprot_t protection_map[16] = { variable
/linux/arch/arm/mm/
H A 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()
/linux/arch/powerpc/mm/
H A Dpgtable.c534 const pgprot_t protection_map[16] = { variable
/linux/arch/powerpc/mm/book3s64/
H A Dpgtable.c654 prot = pgprot_val(protection_map[vm_flags & (VM_ACCESS_FLAGS | VM_SHARED)]); in vm_get_page_prot()
/linux/include/linux/
H A Dpgtable.h2192 return protection_map[vm_flags & \
/linux/arch/riscv/mm/
H A Dinit.c376 static const pgprot_t protection_map[16] = { variable