Lines Matching refs:ecache
70 #define CPU_INFO_FMT "cpuid=%s speed=%d ecache=%d"
260 * Best effort attempt to read cpu ecache sizes from
405 #define PROP_ECACHE_SIZE "ecache-size"
416 * The ecache sizes for individual cpus are read from the
418 * from the cfgadm_sbd cpu attachment point ecache info,
478 * Libdevinfo node walk callback for reading ecache size
486 int *cpuid, *ecache;
525 if (prop_lookup_int(node, ph, PROP_ECACHE_SIZE, &ecache) == 0 ||
526 prop_lookup_int(node, ph, PROP_L3_CACHE_SIZE, &ecache) == 0 ||
527 prop_lookup_int(node, ph, PROP_L2_CACHE_SIZE, &ecache) == 0) {
533 ec->ecache_curr = *ecache;
842 int speed, ecache;
845 &ecache) == 3);
945 int speed, ecache, rv = 0;
948 if (sscanf(cfga->ap_info, CPU_INFO_FMT, &buf, &speed, &ecache) != 3) {
959 if ((rv = i_cpu_cm_info(cpuid, speed, ecache, ap, rcm)) != 0) {
1005 dprintf((stderr, "i_cpu_cm_info: cpu(%d) ecache=%d MB\n",
1006 cpuid, ecache));