Home
last modified time | relevance | path

Searched refs:protection_map (Results 1 – 20 of 20) 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/arm64/mm/
H A 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()
77 for (int i = 0; i < ARRAY_SIZE(protection_map); i++) in adjust_protection_map()
78 pgprot_val(protection_map[i]) &= ~PTE_SHARED; in adjust_protection_map()
92 prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/linux/arch/x86/mm/
H A 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/arch/sparc/mm/
H A Dinit_64.c2639 static pgprot_t protection_map[16] __ro_after_init; variable
2650 protection_map[0x0] = __pgprot(page_none); in prot_init_common()
2651 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2652 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2653 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2654 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()
2655 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()
2656 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()
2657 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()
2658 protection_map[ in prot_init_common()
[all...]
H A Dinit_32.c314 static const pgprot_t protection_map[16] = { variable
/linux/arch/arc/mm/
H A Dmmap.c62 static const pgprot_t protection_map[16] = { variable
/linux/arch/m68k/mm/
H A Dsun3mmu.c93 static const pgprot_t protection_map[16] = { in paging_init()
99 static const pgprot_t protection_map[16] = { global() variable
H A Dmotorola.c396 * initializing protection_map. The cachebits are fixed later.
403 static pgprot_t protection_map[16] __ro_after_init = {
445 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
394 static pgprot_t protection_map[16] __ro_after_init = { global() variable
H A Dmcfmmu.c221 static const pgprot_t protection_map[16] = { in steal_context()
227 static const pgprot_t protection_map[16] = { global() variable
/linux/arch/nios2/mm/
H A Dinit.c132 static const pgprot_t protection_map[16] = { variable
/linux/arch/powerpc/include/asm/
H A Dpgtable.h103 extern const pgprot_t protection_map[16];
/linux/arch/xtensa/mm/
H A Dinit.c221 static const pgprot_t protection_map[16] = { variable
/linux/arch/microblaze/mm/
H A Dinit.c268 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/hexagon/mm/
H A Dinit.c239 static const pgprot_t protection_map[16] = { variable
/linux/arch/csky/mm/
H A Dinit.c201 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.c284 static const pgprot_t protection_map[16] = { variable
/linux/arch/parisc/mm/
H A Dinit.c973 static const pgprot_t protection_map[16] = { in flush_tlb_all()
983 static const pgprot_t protection_map[16] = { global() variable
/linux/arch/riscv/mm/
H A Dinit.c342 static const pgprot_t protection_map[16] = { variable