Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/mm/
Dcache.c162protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
163 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
164protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
165 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
166 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
167 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
168 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
169 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
171protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
172 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/Linux-v5.4/arch/x86/mm/
Dmem_encrypt.c192 for (i = 0; i < ARRAY_SIZE(protection_map); i++) in sme_early_init()
193 protection_map[i] = pgprot_encrypted(protection_map[i]); in sme_early_init()
/Linux-v5.4/arch/sparc/mm/
Dinit_64.c2655 protection_map[0x0] = __pgprot(page_none); in prot_init_common()
2656 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
2657 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2658 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common()
2659 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common()
2660 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common()
2661 protection_map[0x6] = __pgprot(page_copy); in prot_init_common()
2662 protection_map[0x7] = __pgprot(page_copy); in prot_init_common()
2663 protection_map[0x8] = __pgprot(page_none); in prot_init_common()
2664 protection_map[0x9] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common()
[all …]
/Linux-v5.4/arch/m68k/mm/
Dmotorola.c232 pgprot_val(protection_map[i]) |= _PAGE_CACHE040; in paging_init()
/Linux-v5.4/arch/arm/mm/
Dmmu.c659 pteval_t v = pgprot_val(protection_map[i]); in build_mem_type_table()
660 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table()
/Linux-v5.4/mm/
Dmmap.c100 pgprot_t protection_map[16] __ro_after_init = { variable
114 pgprot_t ret = __pgprot(pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
/Linux-v5.4/include/linux/
Dmm.h384 extern pgprot_t protection_map[16];