Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/mips/mm/
H A Dcache.c161protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
162 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
163protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
164 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
165 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
166 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
167 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
168 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
170protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
171 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dmem_encrypt.c195 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in sme_early_init()
196 protection_map[i] = pgprot_encrypted(protection_map[i]); in sme_early_init()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dinit_64.c2645 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 …]
/OK3568_Linux_fs/kernel/mm/
H A Ddebug_vm_pgtable.c63 pgprot_t prot = protection_map[idx]; in pte_basic_tests()
150 pgprot_t prot = protection_map[idx]; in pmd_basic_tests()
295 pgprot_t prot = protection_map[idx]; in pud_basic_tests()
1059 for (idx = 0; idx < ARRAY_SIZE(protection_map); idx++) { in debug_vm_pgtable()
H A Dmmap.c98 pgprot_t protection_map[16] __ro_after_init = { variable
112 pgprot_t ret = __pgprot(pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/OK3568_Linux_fs/kernel/arch/m68k/mm/
H A Dmotorola.c408 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dmmu.c649 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()
650 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmm.h432 extern pgprot_t protection_map[16];