Searched refs:mem_types (Results 1 – 2 of 2) sorted by relevance
245 static struct mem_type mem_types[] __ro_after_init = { variable356 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 …]
87 static struct mem_type mem_types[] = { variable124 return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; in get_mem_type()223 type = &mem_types[md->type]; in create_mapping()