Lines Matching refs:protection_map
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()
2671 protection_map[0x9] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2672 protection_map[0xa] = __pgprot(page_shared & ~page_exec_bit); in prot_init_common()
2673 protection_map[0xb] = __pgprot(page_shared & ~page_exec_bit); in prot_init_common()
2674 protection_map[0xc] = __pgprot(page_readonly); in prot_init_common()
2675 protection_map[0xd] = __pgprot(page_readonly); in prot_init_common()
2676 protection_map[0xe] = __pgprot(page_shared); in prot_init_common()
2677 protection_map[0xf] = __pgprot(page_shared); in prot_init_common()
3223 unsigned long prot = pgprot_val(protection_map[vm_flags & in vm_get_page_prot()