Lines Matching full:mc
33 MachineClass *mc = MACHINE_GET_CLASS(ms); in cpu_hierarchy_to_string() local
36 if (mc->smp_props.drawers_supported) { in cpu_hierarchy_to_string()
40 if (mc->smp_props.books_supported) { in cpu_hierarchy_to_string()
46 if (mc->smp_props.dies_supported) { in cpu_hierarchy_to_string()
50 if (mc->smp_props.clusters_supported) { in cpu_hierarchy_to_string()
54 if (mc->smp_props.modules_supported) { in cpu_hierarchy_to_string()
88 MachineClass *mc = MACHINE_GET_CLASS(ms); in machine_parse_smp_config() local
124 if (!mc->smp_props.modules_supported && in machine_parse_smp_config()
132 if (!mc->smp_props.clusters_supported && in machine_parse_smp_config()
140 if (!mc->smp_props.dies_supported && in machine_parse_smp_config()
148 if (!mc->smp_props.books_supported && in machine_parse_smp_config()
156 if (!mc->smp_props.drawers_supported && in machine_parse_smp_config()
172 if (mc->smp_props.prefer_sockets) { in machine_parse_smp_config()
226 mc->smp_props.has_clusters = config->has_clusters; in machine_parse_smp_config()
247 if (ms->smp.cpus < mc->min_cpus) { in machine_parse_smp_config()
251 mc->name, mc->min_cpus); in machine_parse_smp_config()
255 if (ms->smp.max_cpus > mc->max_cpus) { in machine_parse_smp_config()
259 mc->name, mc->max_cpus); in machine_parse_smp_config()
268 MachineClass *mc = MACHINE_GET_CLASS(ms); in machine_check_topo_support() local
270 if ((topo == CPU_TOPOLOGY_LEVEL_MODULE && !mc->smp_props.modules_supported) || in machine_check_topo_support()
271 (topo == CPU_TOPOLOGY_LEVEL_CLUSTER && !mc->smp_props.clusters_supported) || in machine_check_topo_support()
272 (topo == CPU_TOPOLOGY_LEVEL_DIE && !mc->smp_props.dies_supported) || in machine_check_topo_support()
273 (topo == CPU_TOPOLOGY_LEVEL_BOOK && !mc->smp_props.books_supported) || in machine_check_topo_support()
274 (topo == CPU_TOPOLOGY_LEVEL_DRAWER && !mc->smp_props.drawers_supported)) { in machine_check_topo_support()
289 MachineClass *mc = MACHINE_GET_CLASS(ms); in machine_parse_smp_cache() local
317 !mc->smp_props.cache_supported[props->cache]) { in machine_parse_smp_cache()
336 mc->smp_props.has_caches = true; in machine_parse_smp_cache()