Home
last modified time | relevance | path

Searched refs:mem_types (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/arm/mm/
Dmmu.c245 static struct mem_type mem_types[] __ro_after_init = { variable
356 return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; in get_mem_type()
473 for (i = 0; i < ARRAY_SIZE(mem_types); i++) in build_mem_type_table()
474 mem_types[i].prot_sect &= ~PMD_SECT_TEX(7); in build_mem_type_table()
476 for (i = 0; i < ARRAY_SIZE(mem_types); i++) in build_mem_type_table()
477 mem_types[i].prot_sect &= ~PMD_SECT_S; in build_mem_type_table()
485 for (i = 0; i < ARRAY_SIZE(mem_types); i++) { in build_mem_type_table()
486 mem_types[i].prot_sect &= ~PMD_BIT4; in build_mem_type_table()
487 mem_types[i].prot_l1 &= ~PMD_BIT4; in build_mem_type_table()
490 for (i = 0; i < ARRAY_SIZE(mem_types); i++) { in build_mem_type_table()
[all …]
/Linux-v5.4/arch/unicore32/mm/
Dmmu.c87 static struct mem_type mem_types[] = { variable
124 return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; in get_mem_type()
223 type = &mem_types[md->type]; in create_mapping()