Lines Matching defs:cpu_info
178 ml_cpu_info_t cpu_info;
192 ml_cpu_get_info(&cpu_info);
241 val = cpu_info.cache_line_size;
245 val = cpu_info.l1_icache_size;
249 val = cpu_info.l1_dcache_size;
253 if (cpu_info.l2_cache_size == 0xFFFFFFFF)
255 val = cpu_info.l2_cache_size;
259 if (cpu_info.l3_cache_size == 0xFFFFFFFF)
261 val = cpu_info.l3_cache_size;
293 int vector = cpu_info.vector_unit == 0? 0 : 1;
297 if (cpu_info.l2_cache_size == 0xFFFFFFFF)
299 return(SYSCTL_RETURN(req, cpu_info.l2_settings));
301 if (cpu_info.l3_cache_size == 0xFFFFFFFF)
303 return(SYSCTL_RETURN(req, cpu_info.l3_settings));
566 ml_cpu_info_t cpu_info;
567 ml_cpu_get_info(&cpu_info);
579 cachesize[1] = cpu_info.l1_dcache_size;
580 cachesize[2] = cpu_info.l2_settings ? cpu_info.l2_cache_size : 0;
581 cachesize[3] = cpu_info.l3_settings ? cpu_info.l3_cache_size : 0;
593 cpu_info.l2_cache_size == 1 * 1024 * 1024)