Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/mm/
Dcache.c165protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
166 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
167protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
168 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
169 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
170 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
171 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
172 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
174protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
175 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/Linux-v4.19/arch/x86/mm/
Dmem_encrypt.c191 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in sme_early_init()
192 protection_map[i] = pgprot_encrypted(protection_map[i]); in sme_early_init()
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c2689 protection_map[0x0] = __pgprot(page_none); in prot_init_common()
2690 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2691 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2692 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2693 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()
2694 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()
2695 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()
2696 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()
2697 protection_map[0x8] = __pgprot(page_none); in prot_init_common()
2698 protection_map[0x9] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
[all …]
/Linux-v4.19/arch/m68k/mm/
Dmotorola.c226 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
/Linux-v4.19/arch/arm/mm/
Dmmu.c662 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()
663 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()
/Linux-v4.19/mm/
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()
/Linux-v4.19/include/linux/
Dmm.h310 extern pgprot_t protection_map[16];