Searched refs:tcache (Results 1 – 7 of 7) sorted by relevance
361 struct target_cache *tcache; in hmat_parse_cache() local379 tcache = kzalloc(sizeof(*tcache), GFP_KERNEL); in hmat_parse_cache()380 if (!tcache) { in hmat_parse_cache()385 tcache->cache_attrs.size = cache->cache_size; in hmat_parse_cache()386 tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4; in hmat_parse_cache()387 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()391 tcache->cache_attrs.indexing = NODE_CACHE_DIRECT_MAP; in hmat_parse_cache()394 tcache->cache_attrs.indexing = NODE_CACHE_INDEXED; in hmat_parse_cache()398 tcache->cache_attrs.indexing = NODE_CACHE_OTHER; in hmat_parse_cache()404 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)
71 long getcpu(unsigned *cpu, unsigned *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