Searched refs:tcache (Results 1 – 7 of 7) sorted by relevance
478 struct target_cache *tcache; in hmat_parse_cache() local496 tcache = kzalloc(sizeof(*tcache), GFP_KERNEL); in hmat_parse_cache()497 if (!tcache) { in hmat_parse_cache()502 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()503 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()504 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()508 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()511 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()515 tcache->cache_attrs.indexing = NODE_CACHE_OTHER; in hmat_parse_cache()521 tcache->cache_attrs.write_policy = NODE_CACHE_WRITE_BACK; in hmat_parse_cache()[all …]
48 if (c->tcache.waysize) { in init_cache_level()110 if (c->tcache.waysize) in populate_cache_leaves()111 populate_cache(tcache, this_leaf, level, CACHE_TYPE_UNIFIED); in populate_cache_leaves()
267 c->tcache.linesz = tc_lsize; in rm7k_sc_init()268 c->tcache.ways = 1; in rm7k_sc_init()
21 long getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
77 long getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *tcache)
79 struct cache_desc tcache; /* Tertiary/split secondary cache */ member
517 #define cpu_tcache_line_size() cpu_data[0].tcache.linesz