Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/mm/
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 …]
/Linux-v5.10/arch/x86/mm/
Dmem_encrypt.c194 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in sme_early_init()
195 protection_map[i] = pgprot_encrypted(protection_map[i]); in sme_early_init()
/Linux-v5.10/arch/sparc/mm/
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 …]
/Linux-v5.10/arch/m68k/mm/
Dmotorola.c408 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
/Linux-v5.10/arch/arm/mm/
Dmmu.c630 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()
631 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()
/Linux-v5.10/mm/
Dmmap.c97 pgprot_t protection_map[16] __ro_after_init = { variable
111 pgprot_t ret = __pgprot(pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/Linux-v5.10/include/linux/
Dmm.h414 extern pgprot_t protection_map[16];