Searched refs:protection_map (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/arch/x86/mm/
H A Dpgprot.c8 static pgprot_t protection_map[16] __ro_after_init = {
31 for (i = 0; i < ARRAY_SIZE(protection_map); i++)
32 protection_map[i] = pgprot_encrypted(protection_map[i]);
37 unsigned long val = pgprot_val(protection_map[vm_flags &
/linux-master/arch/arm64/mm/
H A Dmmap.c16 static pgprot_t protection_map[16] __ro_after_init = {
72 protection_map[VM_EXEC] = PAGE_EXECONLY;
73 protection_map[VM_EXEC | VM_SHARED] = PAGE_EXECONLY;
77 for (int i = 0; i < ARRAY_SIZE(protection_map); i++)
78 pgprot_val(protection_map[i]) &= ~PTE_SHARED;
86 pteval_t prot = pgprot_val(protection_map[vm_flags &
/linux-master/arch/mips/mm/
H A Dcache.c179 static pgprot_t protection_map[16] __ro_after_init;
184 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ);
185 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC);
186 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ);
187 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC);
188 protection_map[4] = PM(_PAGE_PRESENT);
189 protection_map[5] = PM(_PAGE_PRESENT);
190 protection_map[6] = PM(_PAGE_PRESENT);
191 protection_map[7] = PM(_PAGE_PRESENT);
193 protection_map[
[all...]
/linux-master/arch/arc/mm/
H A Dmmap.c63 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/nios2/mm/
H A Dinit.c127 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/m68k/mm/
H A Dsun3mmu.c99 static const pgprot_t protection_map[16] = { variable
H A Dmotorola.c387 * initializing protection_map. The cachebits are fixed later.
394 static pgprot_t protection_map[16] __ro_after_init = {
436 pgprot_val(protection_map[i]) |= _PAGE_CACHE040;
H A Dmcfmmu.c227 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/sparc/mm/
H A Dinit_64.c2651 static pgprot_t protection_map[16] __ro_after_init;
2662 protection_map[0x0] = __pgprot(page_none);
2663 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit);
2664 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit);
2665 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit);
2666 protection_map[0x4] = __pgprot(page_readonly);
2667 protection_map[0x5] = __pgprot(page_readonly);
2668 protection_map[0x6] = __pgprot(page_copy);
2669 protection_map[0x7] = __pgprot(page_copy);
2670 protection_map[
[all...]
H A Dinit_32.c314 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/sh/mm/
H A Dmmap.c22 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/xtensa/mm/
H A Dinit.c221 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/openrisc/mm/
H A Dinit.c210 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/hexagon/mm/
H A Dinit.c239 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/powerpc/include/asm/
H A Dpgtable.h102 extern const pgprot_t protection_map[16];
/linux-master/arch/alpha/mm/
H A Dinit.c284 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/um/kernel/
H A Dmem.c220 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/csky/mm/
H A Dinit.c201 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/microblaze/mm/
H A Dinit.c273 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/loongarch/mm/
H A Dcache.c161 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/s390/mm/
H A Dmmap.c195 static const pgprot_t protection_map[16] = { variable
/linux-master/arch/powerpc/mm/
H A Dpgtable.c500 const pgprot_t protection_map[16] = { variable
/linux-master/arch/arm/mm/
H A Dmmu.c419 static pgprot_t protection_map[16] __ro_after_init = {
668 pteval_t v = pgprot_val(protection_map[i]);
669 protection_map[i] = __pgprot(v | user_pgprot);
/linux-master/arch/powerpc/mm/book3s64/
H A Dpgtable.c639 /* Radix supports execute-only, but protection_map maps X -> RX */
643 prot = pgprot_val(protection_map[vm_flags & (VM_ACCESS_FLAGS | VM_SHARED)]);
/linux-master/arch/parisc/mm/
H A Dinit.c976 static const pgprot_t protection_map[16] = { variable

Completed in 354 milliseconds

12