Searched refs:smp_cache (Results 1 – 3 of 3) sorted by relevance
310 const SmpCacheProperties *props = &ms->smp_cache.props[i]; in machine_parse_smp_cache()344 return ms->smp_cache.props[cache].topology; in machine_get_cache_topo_level()350 ms->smp_cache.props[cache].topology = level; in machine_set_cache_topo_level()357 static bool smp_cache_topo_cmp(const SmpCache *smp_cache, in smp_cache_topo_cmp() argument365 assert(smp_cache->props[cache1].topology != CPU_TOPOLOGY_LEVEL_DEFAULT); in smp_cache_topo_cmp()367 return smp_cache->props[cache1].topology > smp_cache->props[cache2].topology; in smp_cache_topo_cmp()380 if (smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L1D, in machine_check_smp_cache()382 smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L1I, in machine_check_smp_cache()390 if (smp_cache_topo_cmp(&ms->smp_cache, CACHE_LEVEL_AND_TYPE_L2, in machine_check_smp_cache()
924 SmpCache *cache = &ms->smp_cache; in machine_get_smp_cache()1258 ms->smp_cache.props[i].cache = (CacheLevelAndType)i; in machine_initfn()1259 ms->smp_cache.props[i].topology = CPU_TOPOLOGY_LEVEL_DEFAULT; in machine_initfn()
439 SmpCache smp_cache; member