Searched defs:cpuid (Results 1 - 25 of 187) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_fault.c44 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/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cache.c40 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 Dcma_cpu_arch.c108 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));
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c129 cmd_ecache_flush(int cpuid) argument
146 if (ioctl(fd, MCIOC_ECFLUSH, cpuid) < 0) {
H A Dcmd_opl.c41 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 Dcda_cpu.c41 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 Dprom_cpuctl.c33 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 Dsg_unum.c67 * 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/sun4v/promif/
H A Dpromif_cpu.c88 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 Dcpc_subr.c115 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) argument
H A Dmach_mp_startup.c47 int cpuid = cp->cpu_id; local
48 struct cpu_node *cpunode = &cpunodes[cpuid];
70 if (cpuid == cpu0.cpu_id) {
76 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid);
78 cpuid = cpuid;
88 mp_cpu_unconfigure(int cpuid) argument
96 retval = cleanup_cpu_common(cpuid);
98 empty_cpu(cpuid);
104 int cpuid; /* se member in struct:mp_find_cpu_arg
115 int cpuid; local
146 mp_cpu_configure(int cpuid) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_dpi_isadep.c44 kmdb_dpi_handle_fault(kreg_t trapno, kreg_t pc, kreg_t sp, int cpuid) argument
65 kmdb_fault(trapno, pc, sp, cpuid);
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_dpi_isadep.c48 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/psm/promif/ieee1275/sun4u/
H A Dprom_serengeti.c158 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/uts/sun4v/os/
H A Dcpc_subr.c133 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) argument
H A Dlpad.c75 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 Dmach_mp_states.c61 * 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 Dutil.c87 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/uts/sun4v/sys/
H A Ddr_cpu.h67 uint32_t cpuid; /* virtual CPU ID */ member in struct:__anon10315
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_kdi.c87 kdi_xc_one(int cpuid, void (*func)(uintptr_t, uintptr_t), uintptr_t arg1, argument
95 shipit(cpuid, 0);
H A Dspitfire_kdi.c88 kdi_xc_one(int cpuid, void (*func)(uintptr_t, uintptr_t), uintptr_t arg1, argument
100 shipit(CPUID_TO_UPAID(cpuid));
H A Dus3_kdi.c88 kdi_xc_one(int cpuid, void (*func)(uintptr_t, uintptr_t), uintptr_t arg1, argument
101 shipit(cpuid, 0);
110 busymask = IDSR_BUSY_BIT(cpuid);
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_isadep.c105 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, &regs) != 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 Dkdi.c57 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/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c137 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...]

Completed in 270 milliseconds

12345678