| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
| cda_cpu.c | 41 cda_cpu_offline(fmd_hdl_t *hdl, uint_t cpuid, int cpustate) 47 if (p_online(cpuid, cpustate) != -1) { 48 fmd_hdl_debug(hdl, "offlined cpu %u\n", cpuid); 54 fmd_hdl_debug(hdl, "failed to offline %u: %s\n", cpuid, 64 uint_t cpuid; local 88 cpuid = atoi(id); 91 "CPU %u\n", cpuid); 99 cda_cpu_offline(hdl, cpuid, cpustate);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
| cma_cache.c | 40 uint_t cpuid; local 65 if (nvlist_lookup_uint32(asru, FM_FMRI_CPU_ID, &cpuid) != 0) { 108 cpuid, index, way, bit, type); 118 " type 0x%02x", cpuid, index, way, bit, type); 124 cache_info.cpu_id = cpuid;
|
| cma_cpu_arch.c | 108 uint_t cpuid; local 110 if (nvlist_lookup_uint32(asru, FM_FMRI_CPU_ID, &cpuid) != 0) { 119 if ((oldstate = p_online(cpuid, cpustate)) != -1) { 121 "to \"%s\"\n", cpuid, p_online_state_fmt(oldstate), 132 cpuid, p_online_state_fmt(cpustate), strerror(errno));
|
| cma_cpu.c | 95 * Under xVM Dom0, since logic cpuid in "cpu" scheme ASRU makes no 164 uint_t cpuid; local 181 "cma_cpu_hc_retire lookup cpuid array failed\n"); 187 FM_FMRI_CPU_ID, &cpuid) != 0) { 192 if (cpu_statechange(hdl, nvl, hc_prs[i], uuid, cpuid, repair) 216 uint32_t cpuid) 225 cpuid); 235 fmd_hdl_debug(hdl, "suppressed unblacklist of CPU %u\n", cpuid); 246 uint32_t cpuid) 259 cpuid); 314 uint_t cpuid; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/intel/mdb/ |
| kvm_isadep.c | 87 kt_kvmregs(mdb_tgt_t *t, uint_t cpuid, mdb_tgt_gregset_t *kregs) 93 if ((ret = kt->k_kb_ops->kb_getmregs(kt->k_cookie, cpuid, &mregs)) != 0) 116 intptr_t cpuid = 0; local 121 if ((cpuid = kt_cpu2cpuid(addr)) < 0) { 123 mdb_warn("failed to find cpuid for cpu at %p", addr); 131 'c', MDB_OPT_UINTPTR, &cpuid, 138 if (kt_kvmregs(t, cpuid, ®s) != 0) { 139 mdb_warn("failed to get regs for cpu %d\n", cpuid); 161 intptr_t cpuid = 0; local 167 if ((cpuid = kt_cpu2cpuid(addr)) < 0) [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/os/ |
| mach_mp_startup.c | 44 int cpuid = cp->cpu_id; local 45 struct cpu_node *cpunode = &cpunodes[cpuid]; 70 CPU_SGN_MAPIN(cpuid); 71 if (cpuid == cpu0.cpu_id) { 77 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid); 79 cpuid = cpuid; 89 mp_cpu_unconfigure(int cpuid) 97 retval = cleanup_cpu_common(cpuid); 99 empty_cpu(cpuid); 105 int cpuid; \/* set by mp_cpu_configure() *\/ member in struct:mp_find_cpu_arg 116 int cpuid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4v/promif/ |
| promif_cpu.c | 88 int cpuid; local 97 cpuid = p1275_cell2int(ci[3]); 106 lpp = lpad_setup(cpuid, (uint64_t)pc, (uint64_t)arg); 112 rv = hv_cpu_start(cpuid, va_to_pa(pc), rtba, cpuid); 116 cpuid, rv);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
| cma_cpu_sun4v.c | 137 uint_t cpuid; local 145 if (nvlist_lookup_uint32(fmri, FM_FMRI_CPU_ID, &cpuid) != 0) 150 /* lookup cpuid from ASRU */ 156 if (nvlist_lookup_uint32(asru, FM_FMRI_CPU_ID, &cpuid) != 0) { 165 fmd_hdl_debug(hdl, "cpu %u is not offline yet - sleeping\n", cpuid); 175 cpu->cpuid = cpuid; 194 uint_t cpuid; local 196 if (nvlist_lookup_uint32(asru, FM_FMRI_CPU_ID, &cpuid) != 0) { 238 fmd_hdl_debug(hdl, "cpu %u is not present", cpu->cpuid); [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4v/os/ |
| mach_mp_states.c | 61 * Stop a CPU based on its cpuid, using the cpu_stop hypervisor call. 73 stopcpu_bycpuid(int cpuid) 89 if (hv_cpu_state(cpuid, &state) != H_EOK) 133 if ((rv = hv_cpu_stop(cpuid)) != H_EWOULDBLOCK) 148 if (hv_cpu_state(cpuid, &state) != H_EOK) 171 processorid_t cpuid = cpup->cpu_id; local 186 xt_one_unchecked(cpuid, (xcfunc_t *)cpu_intrq_unregister_powerdown, 208 cpuid); 221 processorid_t cpuid = cp->cpu_id; local 253 if ((status = stopcpu_bycpuid(cpuid)) != 0) [all...] |
| mach_mp_startup.c | 50 int cpuid = cp->cpu_id; local 51 struct cpu_node *cpunode = &cpunodes[cpuid]; 76 CPU_SGN_MAPIN(cpuid); 77 if (cpuid == cpu0.cpu_id) { 83 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid); 90 cpuid = cpuid; 100 mp_cpu_unconfigure(int cpuid) 108 retval = cleanup_cpu_common(cpuid); 110 empty_cpu(cpuid); 118 int cpuid; \/* set by mp_cpu_configure() *\/ member in struct:mp_find_cpu_arg 128 int cpuid; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/powertop/common/ |
| util.c | 87 int cpuid; local 102 for (cpuid = 0; cpuid < max; cpuid++) { 103 if (p_online(cpuid, P_STATUS) != -1) { 104 g_cpu_table[ncpus] = cpuid;
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
| cmd_dperr.c | 100 int cpuid, numfru, sgpos, xcpos, i, err; local 108 cpuid = dp->dp_cpuid_list[0]; 111 sgpos = ((cpuid & 0x1f) / 4); 112 xcpos = ((cpuid >> 5) & 0x1f); 120 if ((cpuid >> 3) & 0x1) 130 if ((cpuid >> 3) & 0x1) 245 /* extract cpuid list from ereport */ 270 * cpuid in the current datapath event already has an
|
| /onnv/onnv-gate/usr/src/cmd/mdb/intel/ia32/kmdb/ |
| kvm_cpu_p6.c | 56 kmt_p6_branch(uint_t cpuid, const char *label, uint_t msr) 61 addr = (uintptr_t)kmdb_dpi_msr_get_by_cpu(cpuid, msr); 74 intptr_t cpuid = DPI_MASTER_CPUID; local 77 'c', MDB_OPT_UINTPTR, &cpuid, 81 kmt_p6_branch(cpuid, "LastBranchToIP ", MSR_LBR_TO); 82 kmt_p6_branch(cpuid, "LastBranchFromIP ", MSR_LBR_FROM); 83 kmt_p6_branch(cpuid, "LastExceptionToIP ", MSR_LEX_TO); 84 kmt_p6_branch(cpuid, "LastExceptionFromIP", MSR_LEX_FROM); 163 /* See 07/04 AP-485 Intel Processor Identification and the CPUID Instruction */
|
| /onnv/onnv-gate/usr/src/cmd/mdb/intel/kmdb/ |
| kvm_cpu_amd.c | 44 uint_t amd_family; /* CPUID family */ 45 uint_t amd_model; /* CPUID model */ 56 kmt_amd_branch(uint_t cpuid, const char *label, uint_t msr) 61 addr = (uintptr_t)kmdb_dpi_msr_get_by_cpu(cpuid, msr); 152 intptr_t cpuid = DPI_MASTER_CPUID; local 162 'c', MDB_OPT_UINTPTR, &cpuid, 166 kmt_amd_branch(cpuid, "LastBranchToIP ", MSR_LBR_TO); 167 kmt_amd_branch(cpuid, "LastBranchFromIP ", MSR_LBR_FROM); 168 kmt_amd_branch(cpuid, "LastExceptionToIP ", MSR_LEX_TO); 169 kmt_amd_branch(cpuid, "LastExceptionFromIP", MSR_LEX_FROM) [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4v/sys/ |
| dr_cpu.h | 67 uint32_t cpuid; /* virtual CPU ID */ member in struct:__anon9372
|
| cnex.h | 58 uint64_t cpuid; /* Target CPU */ member in struct:cnex_intr
|
| /onnv/onnv-gate/usr/src/cmd/tnf/tnfdump/ |
| cooked.c | 195 #define CPUID "cpuid" 223 int cpuid; local 224 /* XXX Assumes cpuid always exists in kernel schedule */ 225 cpuid = tnf_get_int32(tnf_get_slot_named(schedule_rec, CPUID)); 230 pid, lwpid, tid, cpuid);
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| sched.c | 256 processorid_t cpuid; local 304 cpuid = i; 319 s_tid, cpuid); 320 if (processor_bind(P_LWPID, s_tid, cpuid, NULL) != 0) 327 cpuid, strerror(errno));
|
| /onnv/onnv-gate/usr/src/uts/common/tnf/ |
| tnf_trace.h | 80 processorid_t cpuid; member in struct:__anon8342 107 tnf_cpuid_t cpuid; member in struct:__anon8343
|
| /onnv/onnv-gate/usr/src/uts/sun4/os/ |
| mp_states.c | 90 int i, cpuid, ntries; local 98 cpuid = CPU->cpu_id; 99 ASSERT(cpuid < NCPU); 102 CPUSET_DEL(cpu_idle_set, cpuid); 125 cmn_err(CE_WARN, "cpuid 0x%x failed to idle", i); 140 int cpuid = CPU->cpu_id; local 146 ASSERT(cpuid < NCPU); 172 cmn_err(CE_WARN, "cpuid 0x%x failed to resume", i); 220 int cpuid = cp->cpu_id; local 224 ASSERT(CPU->cpu_id != cpuid); [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/io/ |
| sbd_cpu.c | 342 processorid_t cpuid; local 359 cpuid = sbdp_get_cpuid(hdp, dip); 360 if (cpuid < 0) { 363 "sbd:%s: failed to get cpuid for " 378 f, cpuid); 387 cp->sbc_cpu_flags = cpu[cpuid]->cpu_flags; 394 PR_CPU("%s: offlining cpuid %d unit %d", f, 395 cpuid, unit); 396 if (cpu_offline(cpu[cpuid], cpu_offline_flags)) { 399 f, cpuid); 461 processorid_t cpuid; local 537 processorid_t cpuid; local 649 processorid_t cpuid; local 757 processorid_t cpuid; local 962 processorid_t cpuid; local 1037 processorid_t cpuid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/serengeti/io/ |
| sbdp_dr.c | 233 int cpuid; local 243 if (prom_getprop(node, "cpuid", 244 (caddr_t)&cpuid) == -1) { 247 (caddr_t)&cpuid) == -1) { 254 SG_CPUID_TO_CPU_UNIT(cpuid)) == -1)
|
| /onnv/onnv-gate/usr/src/uts/intel/ia32/os/ |
| cpc_subr.c | 80 kcpc_cpu_setup(cpu_setup_t what, int cpuid, void *arg) 99 chip_pg = (pg_cmt_t *)pghw_find_pg(cpu[cpuid], PGHW_CHIP); 118 struct cpuid_regs cpuid; local 130 cpuid.cp_eax = 0x0; 131 (void) __cpuid_insn(&cpuid); 132 if (cpuid.cp_eax < 0xa) { 135 cpuid.cp_eax = 0xa; 136 (void) __cpuid_insn(&cpuid); 138 versionid = cpuid.cp_eax & 0xFF; 222 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/cpu/ |
| cpu.c | 65 * Determine if a cpuid is present. 69 cpu_cpuid_present(uint32_t cpuid) 73 * For SPARC, use kstats to see if the cpuid is present. 80 ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL); 92 cpu_get_serialid_kstat(uint32_t cpuid, uint64_t *serialidp) 102 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) { 126 cpu_get_serialid_V1(uint32_t cpuid, char *serbuf, size_t len) 131 err = cpu_get_serialid_kstat(cpuid, &serial); 138 cpu_get_serialid_V0(uint32_t cpuid, uint64_t *serialidp) 140 return (cpu_get_serialid_kstat(cpuid, serialidp)) 147 uint32_t cpuid; local 206 uint32_t cpuid; local 259 uint32_t cpuid; local 318 uint32_t cpuid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| ip_squeue.c | 398 processorid_t cpuid = newset->sqs_cpuid; local 416 if (cpuid == -1) 419 squeue_bind(sq, cpuid); 423 * Move squeue from its current set to cpuid's set and bind to cpuid. 427 ip_squeue_cpu_move(squeue_t *sq, processorid_t cpuid) 437 cpu = cpu_get(cpuid); 454 ip_squeue_bind_ring(ill_t *ill, ill_rx_ring_t *rx_ring, processorid_t cpuid) 466 if (ip_squeue_cpu_move(rx_ring->rr_sqp, cpuid) != -1)
|