Searched refs:protection_map (Results 1 – 8 of 8) sorted by relevance
164 protection_map[0] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()165 protection_map[1] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()166 protection_map[2] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()167 protection_map[3] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()168 protection_map[4] = PM(_PAGE_PRESENT); in setup_protection_map()169 protection_map[5] = PM(_PAGE_PRESENT); in setup_protection_map()170 protection_map[6] = PM(_PAGE_PRESENT); in setup_protection_map()171 protection_map[7] = PM(_PAGE_PRESENT); in setup_protection_map()173 protection_map[8] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); in setup_protection_map()174 protection_map[9] = PM(_PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()[all …]
193 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in sme_early_init()194 protection_map[i] = pgprot_encrypted(protection_map[i]); in sme_early_init()
2645 protection_map[0x0] = __pgprot(page_none); in prot_init_common()2646 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()2647 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()2648 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()2649 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()2650 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()2651 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()2652 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()2653 protection_map[0x8] = __pgprot(page_none); in prot_init_common()2654 protection_map[0x9] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()[all …]
96 pgprot_t prot = protection_map[idx]; in pte_basic_tests()191 pgprot_t prot = protection_map[idx]; in pmd_basic_tests()326 pgprot_t prot = protection_map[idx]; in pud_basic_tests()1253 for (idx = 0; idx < ARRAY_SIZE(protection_map); idx++) { in debug_vm_pgtable()
103 pgprot_t protection_map[16] __ro_after_init = { variable117 pgprot_t ret = __pgprot(pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
408 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
631 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()632 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()
435 extern pgprot_t protection_map[16];