/illumos-gate/usr/src/cmd/dtrace/demo/sched/ |
H A D | ticktime.d | 30 /last[cpu]/ 32 @[cpu] = min(timestamp - last[cpu]); 37 last[cpu] = timestamp;
|
H A D | howlong.d | 27 sched:::off-cpu 30 self->cpu = cpu; 34 sched:::on-cpu 37 @[self->cpu == cpu ? 41 self->cpu = 0;
|
H A D | where.d | 27 sched:::on-cpu 32 sched:::off-cpu 35 @[cpu] = quantize(timestamp - self->ts);
|
H A D | whererun.d | 34 sched:::on-cpu 40 sched:::off-cpu 43 @[cpu] = sum(timestamp - self->ts);
|
H A D | whosteal.d | 30 /args[2]->cpu_id != -1 && cpu != args[2]->cpu_id && 34 lquantize(cpu, 0, 100);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/cpc/ |
H A D | tst.allcpus.ksh | 43 cpu=0 61 /cpus[cpu] != 1/ 63 cpus[cpu] = 1; 64 @a[cpu] = count(); 77 while [ $cpu -le $numproc ] 79 if [ "`psrinfo -s $cpu 2> /dev/null`" -eq 1 ]; then 80 printf "%9d %16d\n" $cpu 1 >> $scriptout 82 allpids[$cpu]=$! 83 pbind -b $cpu $! 85 cpu [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kvm_cpu.c | 58 kmt_cpu_t *cpu; local 63 if ((cpu = kmt_cpu_ctors[i](t)) != NULL) 64 return (cpu); 76 kmt_cpu_destroy(kmt_cpu_t *cpu) argument 78 if (cpu != NULL) 79 cpu->kmt_cpu_ops->kco_destroy(cpu); 83 kmt_cpu_step_branch(mdb_tgt_t *t, kmt_cpu_t *cpu) argument 85 if (cpu == NULL || cpu 92 kmt_cpu_name(kmt_cpu_t *cpu) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhm.h | 50 #define SOCKET_BUS(cpu) (MAX_BUS_NUMBER - (cpu)) 51 #define CPU_ID_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 0, 0, 0, 0) 52 #define MC_CONTROL_RD(cpu) \ 53 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x48, 0) 54 #define MC_STATUS_RD(cpu) \ 55 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x4c, 0) 56 #define MC_SMI_SPARE_DIMM_ERROR_STATUS_RD(cpu) \ 57 nhm_pci_getl(SOCKET_BUS(cpu), [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | cpupm_mach.c | 33 cpupm_plat_domain_id(struct cpu *cp, cpupm_dtype_t type) 40 cpupm_plat_state_enumerate(struct cpu *cp, cpupm_dtype_t type, 48 cpupm_plat_change_state(struct cpu *cp, cpupm_state_t *state)
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | cpuvar.h | 39 struct cpu; 41 extern __GNU_INLINE struct cpu * 44 struct cpu *__value;
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | turbo.c | 117 int cpu; local 123 for (cpu = 0; cpu < g_ncpus; cpu++) { 124 turbo_info = &turbo_snapshot[cpu]; 125 ksp = kstat_lookup(kc, "turbo", g_cpu_table[cpu], NULL); 128 cpu); 135 cpu); 143 "%d\n", cpu); 156 "%d\n", cpu); 198 int cpu; local [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.oncpu.d | 32 sched:::on-cpu 38 sched:::off-cpu 44 sched:::off-cpu
|
H A D | tst.stackdepth.d | 31 sched:::on-cpu
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 99 struct cpu *cpu = CPU; local 107 if (avp->av_vector != NULL && avp->av_prilevel < cpu->cpu_base_spl) { 227 apix_do_softint_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, argument 231 struct machcpu *mcpu = &cpu->cpu_m; 235 ASSERT(pil > mcpu->mcpu_pri && pil > cpu->cpu_base_spl); 248 it = cpu->cpu_intr_thread; 250 cpu->cpu_intr_thread = it->t_link; 253 t = cpu 300 apix_do_softint_epilog(struct cpu *cpu, uint_t oldpil) argument 359 struct cpu *cpu = CPU; local 381 struct cpu *cpu = CPU; local 403 apix_hilevel_intr_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, struct regs *rp) argument 483 apix_hilevel_intr_epilog(struct cpu *cpu, uint_t oldpil) argument 570 apix_do_pending_hilevel(struct cpu *cpu, struct regs *rp) argument 605 apix_intr_thread_prolog(struct cpu *cpu, uint_t pil, caddr_t stackptr) argument 675 apix_intr_thread_epilog(struct cpu *cpu, uint_t oldpil) argument 756 struct cpu *cpu = CPU; local 770 apix_do_pending_hardint(struct cpu *cpu, struct regs *rp) argument 812 struct cpu *cpu = CPU; local 854 struct cpu *cpu = CPU; local 871 struct cpu *cpu = CPU; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | disp.h | 76 volatile int disp_nrunnable; /* runnable threads in cpu dispq */ 78 struct cpu *disp_cpu; /* cpu owning this queue or NULL */ 130 * idle_cpu() is invoked when a cpu goes idle, and has nothing to do. 134 extern void (*disp_enq_thread)(struct cpu *, int); 140 extern int intr_active(struct cpu *, int); 154 extern struct cpu *disp_lowpri_cpu(struct cpu *, struct lgrp_ld *, pri_t, 155 struct cpu *); 156 extern int disp_bound_threads(struct cpu *, in [all...] |
H A D | cpu_pm.h | 118 cpupm_domain_t *cpupm_domain_init(struct cpu *, cpupm_dtype_t); 119 id_t cpupm_domain_id(struct cpu *, cpupm_dtype_t); 120 int cpupm_change_state(struct cpu *, cpupm_domain_t *, 122 extern void cpupm_redefine_max_activepwr_state(struct cpu *, int); 129 void cpupm_utilization_event(struct cpu *, hrtime_t, 135 id_t cpupm_plat_domain_id(struct cpu *, cpupm_dtype_t); 136 uint_t cpupm_plat_state_enumerate(struct cpu *, cpupm_dtype_t, 138 int cpupm_plat_change_state(struct cpu *, cpupm_state_t *);
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/ |
H A D | intel.esc | 37 event ereport.cpu.intel.leafclass@chip/core/strand { within(t) } 52 * trips. prop statement for ereport.cpu.intel.internal_unclassified is 56 engine serd.cpu.intel.simple@chip/core/strand, N=3, T=72h; 57 event fault.cpu.intel.internal@chip/core/strand, 58 engine=serd.cpu.intel.simple@chip/core/strand; 60 prop fault.cpu.intel.internal@chip/core/strand 62 ereport.cpu.intel.microcode_rom_parity@chip/core/strand, 63 ereport.cpu.intel.internal_timer@chip/core/strand, 64 ereport.cpu.intel.internal_parity@chip/core/strand, 65 ereport.cpu [all...] |
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | armada-385.dtsi | 62 cpu@0 { 63 device_type = "cpu"; 67 cpu@1 { 68 device_type = "cpu";
|
H A D | meson8b.dtsi | 41 cpu@200 { 42 device_type = "cpu"; 48 cpu@201 { 49 device_type = "cpu"; 55 cpu@202 { 56 device_type = "cpu"; 62 cpu@203 { 63 device_type = "cpu";
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | intr.c | 326 * now have per-cpu vectors. 492 * This variable tracks the last place events were disabled on each cpu 505 * Set cpu's base SPL level to the highest active interrupt level 510 struct cpu *cpu = CPU; local 511 uint16_t active = (uint16_t)cpu->cpu_intr_actv; 513 cpu->cpu_base_spl = active == 0 ? 0 : bsrw_insn(active); 517 * Do all the work necessary to set up the cpu and thread structures 527 hilevel_intr_prolog(struct cpu *cpu, uint_ argument 623 hilevel_intr_epilog(struct cpu *cpu, uint_t pil, uint_t oldpil, uint_t vecnum) argument 704 intr_thread_prolog(struct cpu *cpu, caddr_t stackptr, uint_t pil) argument 770 intr_thread_epilog(struct cpu *cpu, uint_t vec, uint_t oldpil) argument 907 struct cpu *cpu; local 938 dosoftint_prolog( struct cpu *cpu, caddr_t stackptr, uint32_t st_pending, uint_t oldpil) argument 1049 dosoftint_epilog(struct cpu *cpu, uint_t oldpil) argument 1208 cpu_t *cpu; local 1276 struct cpu *cpu = CPU; local 1295 struct cpu *cpu = CPU; local 1315 struct cpu *cpu = CPU; local 1341 struct cpu *cpu = CPU; local 1542 cpu_t *cpu; local 1572 cpu_t *cpu; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 50 #include <sys/fm/cpu/UltraSPARC-III.h> 55 #include <sys/fm/cpu/UltraSPARC-T1.h> 261 cpu_uec_write(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec) argument 277 cpu_buf_write(hdl, cpu); 281 cpu_uec_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec, argument 290 cpu_uec_write(hdl, cpu, uec); 315 cpu_uec_flush_finish(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 318 if (cpu->cpu_olduec.uec_cache != NULL) { 319 fmd_hdl_free(hdl, cpu->cpu_olduec.uec_cache, sizeof (uint64_t) * 320 cpu 333 cpu_uec_flush(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 390 cmd_cpu_uec_add(fmd_hdl_t *hdl, cmd_cpu_t *cpu, uint64_t pa) argument 433 cmd_cpu_uec_set_allmatch(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 446 cmd_cpu_uec_match(cmd_cpu_t *cpu, uint64_t pa) argument 506 cmd_xr_create(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, cmd_cpu_t *cpu, cmd_errcl_t clcode) argument 596 cmd_xr_restore(fmd_hdl_t *hdl, cmd_cpu_t *cpu, fmd_case_t *cp) argument 1391 cmd_cpu_serdnm_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu, const char *serdbase) argument 1425 cmd_cpu_create_faultlist(fmd_hdl_t *hdl, fmd_case_t *casep, cmd_cpu_t *cpu, const char *type, nvlist_t *rsrc, uint_t cert) argument 1513 cmd_cpu_free(fmd_hdl_t *hdl, cmd_cpu_t *cpu, int destroy) argument 1558 cmd_cpu_destroy(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 1566 cmd_cpu_t *cpu; local 1598 cpu_buf_write(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 1609 cpu_buf_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 1647 cmd_cpu_t *cpu; local 1721 cpu_all_threads_invalid(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 1767 cmd_cpu_t *cpu; local 1917 cmd_cpu_t *cpu; local 1931 cpu_case_restore(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_case_t *cc, fmd_case_t *cp, const char *serdbase) argument 1941 cmd_cpu_t *cpu; local 2034 cmd_cpu_t *cpu; local 2199 cmd_cpu_t *cpu, *cpun; local 2244 cmd_cpu_t *cpu; local 2272 cpu_gc_keep_one(fmd_hdl_t *hdl, cmd_cpu_t *cpu) argument 2307 cmd_cpu_t *cpu, *next; local 2330 cmd_cpu_t *cpu; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frutree/ |
H A D | system-board.info | 110 REFNODE cpu-module fru WITH name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8 111 name:/frutree/chassis/MB/system-board/C0/cpu-module 113 REFPROP _seeprom_source name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8 115 name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8 116 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module 122 REFNODE cpu-module fru WITH name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,c8 123 name:/frutree/chassis/MB/system-board/C1/cpu-module 125 REFPROP _seeprom_source name:/platform/i2c@1f,520000/cpu [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | Makefile | 27 MODULE = platform-cpu 31 MODULESRCS = cpu.c cpu_mdesc.c
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/SUNW,Sun-Fire-15000/ |
H A D | SUNW,Sun-Fire-15000.esc | 35 fru cpu; 37 event fault.io.datapath@cpu, retire=0, 38 FITrate=CPU_FIT, FRU=cpu; 43 event ereport.io.cpu.ecc.thresh@cpu; 49 prop fault.io.datapath@cpu[cpuid] (0)-> 59 ereport.io.cpu.ecc.thresh@cpu[cpuid]; 61 engine serd.io.cpu.ecc@cpu, [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
H A D | cma_cpu_sun4v.c | 135 cma_cpu_t *cpu; local 163 * check to see if the cpu has been offline. 165 fmd_hdl_debug(hdl, "cpu %u is not offline yet - sleeping\n", cpuid); 168 * Create a cpu node and add to the head of the cpu list 170 cpu = fmd_hdl_zalloc(hdl, sizeof (cma_cpu_t), FMD_SLEEP); 171 (void) nvlist_dup(fmri, &cpu->cpu_fmri, 0); 173 cpu->cpu_uuid = fmd_hdl_strdup(hdl, uuid, FMD_SLEEP); 175 cpu->cpuid = cpuid; 176 cpu 227 cpu_retry(fmd_hdl_t *hdl, cma_cpu_t *cpu) argument 263 cma_cpu_free(fmd_hdl_t *hdl, cma_cpu_t *cpu) argument 282 cma_cpu_t *cpu = *cpup; local 318 cma_cpu_t *cpu; local [all...] |