/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_fault.c | 45 kmdb_fault(kreg_t tt, kreg_t pc, kreg_t sp, int cpuid) argument 71 cpuid); 99 kmdb_dpi_kernpanic(cpuid);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_starfire.c | 39 * computed from cpuid. All of the cpus on the board are 44 prom_starfire_add_brd(uint_t cpuid) argument 52 ci[3] = p1275_uint2cell(cpuid); 86 * cpu represented by cpuid. This operation has no effect on 90 prom_starfire_add_cpu(uint_t cpuid) argument 97 ci[3] = p1275_uint2cell(cpuid); 106 * represented by cpuid. 109 prom_starfire_rm_cpu(uint_t cpuid) argument 116 ci[3] = p1275_uint2cell(cpuid); 124 * Mark the cpu represented by cpuid a 128 prom_starfire_move_cpu0(uint_t cpuid) argument 152 prom_starfire_init_console(uint_t cpuid) argument [all...] |
H A D | prom_serengeti.c | 158 prom_serengeti_get_ecacheunum(int cpuid, unsigned long long physaddr, char *buf, argument 183 ci[9] = p1275_int2cell(cpuid); /* Arg7: cpuid */
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | 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;
|
H A D | 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));
|
H A D | 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); 215 cpu_online(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, uint32_t cpuid) argument 245 cpu_offline(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, uint32_t cpuid) argument 279 cpu_statechange(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, uint32_t cpuid, boolean_t repair) argument 314 uint_t cpuid; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_ecache.c | 129 cmd_ecache_flush(int cpuid) argument 146 if (ioctl(fd, MCIOC_ECFLUSH, cpuid) < 0) {
|
H A D | cmd_opl.c | 41 opl_cpulist_insert(fmd_hdl_t *hdl, uint32_t cpuid, int flt_type) argument 50 opl_cpu->oc_cpuid = cpuid; 60 sib_cpuid = cpuid ^ 1; 65 opl_cpu->oc_cpuid = cpuid; 81 base_cpuid = (cpuid >> CHIPID_SHIFT) << CHIPID_SHIFT; 133 * the kstat "cpu_fru" of the faulted cpu and cpuid 137 opl_cpursrc_create(fmd_hdl_t *hdl, uint32_t cpuid) argument 146 if ((frustr = cmd_cpu_getfrustr_by_id(hdl, cpuid)) == NULL) { 181 ((cpuid >> CHIPID_SHIFT) & CHIP_OR_CORE_MASK), 182 "core", ((cpuid >> COREID_SHIF [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
H A D | cda_cpu.c | 41 cda_cpu_offline(fmd_hdl_t *hdl, uint_t cpuid, int cpustate) argument 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);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_cpuctl.c | 33 prom_stopcpu_bycpuid(int cpuid) argument 37 ci[0] = p1275_ptr2cell("SUNW,stop-cpu-by-cpuid"); /* Service name */ 40 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to stop */ 60 ci[5] = p1275_int2cell(arg); /* Arg3: cpuid */ 70 prom_startcpu_bycpuid(int cpuid, caddr_t pc, int arg) argument 74 ci[0] = p1275_ptr2cell("SUNW,start-cpu-by-cpuid"); /* Service name */ 77 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to start */ 79 ci[5] = p1275_int2cell(arg); /* Arg3: cpuid */ 131 prom_hotaddcpu(int cpuid) argument 148 prom_hotremovecpu(int cpuid) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/os/ |
H A D | sg_unum.c | 67 * Generate the unum for the specified cpuid and physical address. Put the 74 sg_get_ecacheunum(int cpuid, uint64_t physaddr, char *buf, uint_t buflen, argument 77 int node = SG_PORTID_TO_NODEID(cpuid); 78 int board = SG_CPU_BD_PORTID_TO_BD_NUM(cpuid); 79 int proc = SG_PORTID_TO_CPU_POSN(cpuid); 84 * an invalid cpuid is passed in.
|
/illumos-gate/usr/src/uts/sun4u/starfire/os/ |
H A D | cpu_sgnblk.c | 65 cpu_sgn_mapin(int cpuid) argument 74 ASSERT(cpu_sgnblkp[cpuid] == NULL); 81 STARFIRE_UPAID2UPS(cpuid) | STARFIRE_PSI_BASE; 93 if (cpuid & 0x1) { 121 cpu_sgnblkp[cpuid] = ((cpu_sgnblk_t *)(cvaddr + 126 cpu_sgn_mapout(int cpuid) argument 133 if ((cvaddr = (ulong_t)cpu_sgnblkp[cpuid]) == NULL) { 135 "cpu_sgnblkp[%d] = NULL\n", cpuid); 143 bbsram_physaddr = STARFIRE_UPAID2UPS(cpuid) | 157 if (cpuid [all...] |
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | 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);
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cpc_subr.c | 115 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) argument
|
H A D | 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) argument 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 147 mp_cpu_configure(int cpuid) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kmdb_dpi_isadep.c | 44 kmdb_dpi_handle_fault(kreg_t trapno, kreg_t pc, kreg_t sp, int cpuid) argument 64 kmdb_fault(trapno, pc, sp, cpuid); 159 kmdb_dpi_msr_get_by_cpu(int cpuid, uint_t msr) argument 161 return (mdb.m_dpi->dpo_msr_get(cpuid, msr));
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_dpi_isadep.c | 48 kmdb_dpi_handle_fault(kreg_t tt, kreg_t tpc, kreg_t tnpc, kreg_t sp, int cpuid) argument 75 kmdb_fault(tt, tpc, sp, cpuid); 91 kmdb_dpi_get_rwin(int cpuid, int win, struct rwindow *rwin) argument 93 return (mdb.m_dpi->dpo_get_rwin(cpuid, win, rwin)); 97 kmdb_dpi_get_nwin(int cpuid) argument 99 return (mdb.m_dpi->dpo_get_nwin(cpuid)); 103 kmdb_dpi_kernpanic(int cpuid) argument 105 mdb.m_dpi->dpo_kernpanic(cpuid);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | cpc_subr.c | 133 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) argument
|
H A D | lpad.c | 75 lpad_setup(int cpuid, uint64_t pc, uint64_t arg) argument 92 if ((cpuid < 0) || (cpuid > NCPU)) { 93 cmn_err(CE_PANIC, "lpad_setup: invalid cpuid"); 119 lpd->mmfsa_ra = va_to_pa(mmu_fault_status_area) + (MMFSA_SIZE * cpuid);
|
H A D | mach_mp_startup.c | 49 int cpuid = cp->cpu_id; local 50 struct cpu_node *cpunode = &cpunodes[cpuid]; 75 CPU_SGN_MAPIN(cpuid); 85 if (cpuid == cpu0.cpu_id && ncpus == 1 && cpu_list[0].cpu_id == cpuid) { 91 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid); 98 cpuid = cpuid; 108 mp_cpu_unconfigure(int cpuid) argument 116 retval = cleanup_cpu_common(cpuid); 126 int cpuid; /* set by mp_cpu_configure() */ member in struct:mp_find_cpu_arg 136 int cpuid; local 171 mp_cpu_configure(int cpuid) argument [all...] |
H A D | mach_mp_states.c | 61 * Stop a CPU based on its cpuid, using the cpu_stop hypervisor call. 73 stopcpu_bycpuid(int cpuid) argument 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)) ! [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | 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;
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | kvm_isadep.c | 105 kt_kvmregs(mdb_tgt_t *t, uint_t cpuid, mdb_tgt_gregset_t *kregs) argument 111 if ((ret = kt->k_kb_ops->kb_getmregs(kt->k_cookie, cpuid, &mregs)) != 0) 134 intptr_t cpuid = 0; local 139 if ((cpuid = kt_cpu2cpuid(addr)) < 0) { 141 mdb_warn("failed to find cpuid for cpu at %p", addr); 149 'c', MDB_OPT_UINTPTR, &cpuid, 156 if (kt_kvmregs(t, cpuid, ®s) != 0) { 157 mdb_warn("failed to get regs for cpu %d\n", cpuid); 179 intptr_t cpuid = 0; local 185 if ((cpuid [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | kdi.c | 57 kdi_dvec_handle_fault(greg_t trapno, greg_t pc, greg_t sp, int cpuid) argument 59 kdi_dvec->dv_handle_fault(trapno, pc, sp, cpuid);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | dr_cpu.h | 67 uint32_t cpuid; /* virtual CPU ID */ member in struct:__anon10318
|