/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | cpu.c | 150 Prom_node *cpu; local 156 for (cpu = dev_find_type(board->nodes, "cpu"); cpu != NULL; 157 cpu = dev_next_type(cpu, "cpu")) { 164 mid = (int *)get_prop_val(find_prop(cpu, "upa-portid")); 166 mid = (int *)get_prop_val(find_prop(cpu, "portid")); 169 freq = (get_cpu_freq(cpu) [all...] |
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | turbo.c | 109 int cpu; local 112 for (cpu = 0; cpu < g_ncpus; cpu++) { 113 turbo_info = &turbo_snapshot[cpu]; 114 ksp = kstat_lookup(g_kc, "turbo", g_cpu_table[cpu], NULL); 117 cpu); 123 cpu); 131 "%d\n", cpu); 144 "%d\n", cpu); 182 int cpu; local [all...] |
H A D | util.c | 100 /* Free any previous cpu table */ 144 (void) fprintf(stderr, " -c, --cpu [CPU] Only observe a specific" 209 struct cpu_snapshot *cpu = NULL; local 217 cpu = NULL; 220 cpu = &old->s_cpus[i]; 225 pt_update_cpu_kstats(cpu, newcpu); 233 struct cpu_snapshot *cpu = NULL; local 242 cpu = &old->s_cpus[i]; 247 pt_update_cpu_kstats(cpu, newcpu); 410 * Walk the cpu snapsho [all...] |
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | psetsys.c | 52 pset_assign(psetid_t pset, processorid_t cpu, psetid_t *opset) argument 54 return (_pset(PSET_ASSIGN, pset, cpu, opset)); 58 pset_assign_forced(psetid_t pset, processorid_t cpu, psetid_t *opset) argument 60 return (_pset(PSET_ASSIGN_FORCED, pset, cpu, opset));
|
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Drop.java | 123 private final int cpu; field in class:Drop 137 * @param dropCPU cpu where drops occurred 154 cpu = dropCPU; 185 return cpu; 264 buf.append("[cpu = "); 265 buf.append(cpu);
|
H A D | Error.java | 106 private final int cpu; field in class:Error 150 cpu = errorCPU; 206 return cpu; 312 buf.append(", cpu = "); 313 buf.append(cpu);
|
H A D | Option.java | 507 public static final String cpu = "cpu"; field in class:Option
|
H A D | ProbeData.java | 107 private int cpu; field in class:ProbeData 142 cpu = cpuID; 174 cpu = cpuID; 683 return cpu; 795 buf.append(", cpu = "); 796 buf.append(cpu);
|
/osnet-11/usr/src/lib/libprtdiag/inc/ |
H A D | reset_info.h | 89 cpu_reset_state cpu[2]; /* could be a CPU */ member in struct:board_info
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 310 dt_handle_cpudrop(dtrace_hdl_t *dtp, processorid_t cpu, argument 321 drop.dtdda_cpu = cpu; 337 howmany > 1 ? "s" : "", cpu);
|
H A D | dt_subr.c | 483 dt_status(dtrace_hdl_t *dtp, processorid_t cpu) argument 488 return (p_online(cpu, P_STATUS)); 490 return (v->dtv_status(dtp->dt_varg, cpu));
|
H A D | dt_aggregate.c | 430 dt_aggregate_snap_cpu(dtrace_hdl_t *dtp, processorid_t cpu) argument 447 buf->dtbd_cpu = cpu; 463 if (dt_handle_cpudrop(dtp, cpu, 584 data = aggdata->dtada_percpu[cpu]; 653 if (j == cpu) { 1096 dtrace_optval_t size, cpu; local 1131 rval = dtrace_getopt(dtp, "cpu", &cpu); 1132 assert(rval == 0 && cpu != DTRACEOPT_UNSET); 1134 if (cpu ! [all...] |
H A D | dt_consume.c | 1577 dt_consume_cpu(dtrace_hdl_t *dtp, FILE *fp, int cpu, dtrace_bufdesc_t *buf, argument 1592 data.dtpda_cpu = cpu; 1972 return (dt_handle_cpudrop(dtp, cpu, DTRACEDROP_PRINCIPAL, drops)); 2063 processorid_t cpu = dtp->dt_beganon; local 2089 return (dt_consume_cpu(dtp, fp, cpu, buf, pf, rf, arg)); 2106 rval = dt_consume_cpu(dtp, fp, cpu, buf, dt_consume_begin_probe, 2130 if (i == cpu) 2170 rval = dt_consume_cpu(dtp, fp, cpu, buf, dt_consume_begin_probe,
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip.c | 198 create_strand(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, argument 209 if ((err = nvlist_lookup_int32(cpu, FM_PHYSCPU_INFO_STRAND_ID, 227 * Inherit FRU from core node, in native use cpu scheme ASRU, 261 if (nvlist_lookup_int32(cpu, STRAND_CPU_ID, &cpuid) != 0) { 282 nerr -= add_nvlist_longprops(mod, strand, cpu, PGNAME(STRAND), NULL, 325 create_core(topo_mod_t *mod, tnode_t *pnode, nvlist_t *cpu, argument 336 if ((err = nvlist_lookup_int32(cpu, FM_PHYSCPU_INFO_CORE_ID, &coreid)) 387 nerr -= add_nvlist_longprops(mod, core, cpu, PGNAME(CORE), NULL, 397 * In native mode, we're in favor of cpu scheme ASRU for 399 * multi-strand cpu 457 create_chip(topo_mod_t *mod, tnode_t *pnode, topo_instance_t min, topo_instance_t max, nvlist_t *cpu, nvlist_t *auth, int mc_offchip) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 305 Prom_node *pnode, *cpu; local 338 * The internal cpu tree built by walk_di_tree() 344 * cmp->cpu->cpu->cpu->cpu->(next board nodes) 350 * cmp->cpu->cpu->cpu->cpu [all...] |
/osnet-11/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_consume.c | 838 int cpu; local 851 cpu = (int)data->dtpda_cpu; 899 epid, cpu, jprobe, jflow, nrecs);
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 775 type = "cpu"; 784 type = "cpu"; 954 sbd_cpu_stat_t *cpu = (sbd_cpu_stat_t *)dst; local 955 *((processorid_t *)cap) = cpu->cs_cpuid;
|
/osnet-11/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 154 /* n */ "cpu/mem ", 1274 struct cpu_info *cpu; local 1281 for (i = 0, cpu = bd->cpu; i < 2; i++, cpu++) { 1282 if (cpu->cpu_speed > 1) { 1283 info += sprintf(info, "cpu %d: ", i); 1285 cpu->cpu_speed); 1286 if (cpu->cache_size) 1288 (float)cpu [all...] |
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 1252 processorid_t cpu; local 1258 cpu = scp->sc_cpu; 1261 cpu = _getcpuid(); 1266 return (cpu);
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | libipmi.h | 1835 } cpu; member in union:ipmi_sunoem_fru::__anon1785
|