/titanic_52/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 100 struct cpu *cpu = CPU; in apix_remove_pending_av() local 108 if (avp->av_vector != NULL && avp->av_prilevel < cpu->cpu_base_spl) { in apix_remove_pending_av() 228 apix_do_softint_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, in apix_do_softint_prolog() argument 232 struct machcpu *mcpu = &cpu->cpu_m; in apix_do_softint_prolog() 236 ASSERT(pil > mcpu->mcpu_pri && pil > cpu->cpu_base_spl); in apix_do_softint_prolog() 249 it = cpu->cpu_intr_thread; in apix_do_softint_prolog() 251 cpu->cpu_intr_thread = it->t_link; in apix_do_softint_prolog() 254 t = cpu in apix_do_softint_prolog() 301 apix_do_softint_epilog(struct cpu * cpu,uint_t oldpil) apix_do_softint_epilog() argument 367 struct cpu *cpu = CPU; apix_dispatch_softint() local 389 struct cpu *cpu = CPU; apix_do_softint() local 411 apix_hilevel_intr_prolog(struct cpu * cpu,uint_t pil,uint_t oldpil,struct regs * rp) apix_hilevel_intr_prolog() argument 491 apix_hilevel_intr_epilog(struct cpu * cpu,uint_t oldpil) apix_hilevel_intr_epilog() argument 578 apix_do_pending_hilevel(struct cpu * cpu,struct regs * rp) apix_do_pending_hilevel() argument 613 apix_intr_thread_prolog(struct cpu * cpu,uint_t pil,caddr_t stackptr) apix_intr_thread_prolog() argument 683 apix_intr_thread_epilog(struct cpu * cpu,uint_t oldpil) apix_intr_thread_epilog() argument 771 struct cpu *cpu = CPU; apix_dispatch_pending_hardint() local 785 apix_do_pending_hardint(struct cpu * cpu,struct regs * rp) apix_do_pending_hardint() argument 827 struct cpu *cpu = CPU; apix_dispatch_by_vector() local 869 struct cpu *cpu = CPU; apix_dispatch_lowlevel() local 886 struct cpu *cpu = CPU; apix_do_interrupt() local [all...] |
/titanic_52/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; in set_base_spl() local 511 uint16_t active = (uint16_t)cpu->cpu_intr_actv; in set_base_spl() 513 cpu->cpu_base_spl = active == 0 ? 0 : bsrw_insn(active); in set_base_spl() 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) hilevel_intr_epilog() argument 704 intr_thread_prolog(struct cpu * cpu,caddr_t stackptr,uint_t pil) intr_thread_prolog() argument 770 intr_thread_epilog(struct cpu * cpu,uint_t vec,uint_t oldpil) intr_thread_epilog() argument 907 struct cpu *cpu; intr_get_time() local 939 dosoftint_prolog(struct cpu * cpu,caddr_t stackptr,uint32_t st_pending,uint_t oldpil) dosoftint_prolog() argument 1049 dosoftint_epilog(struct cpu * cpu,uint_t oldpil) dosoftint_epilog() argument 1208 cpu_t *cpu; cpu_intr_swtch_enter() local 1276 struct cpu *cpu = CPU; dispatch_softint() local 1295 struct cpu *cpu = CPU; dispatch_hardint() local 1315 struct cpu *cpu = CPU; dosoftint() local 1341 struct cpu *cpu = CPU; do_interrupt() local 1542 cpu_t *cpu; do_splx() local 1572 cpu_t *cpu; splr() local [all...] |
/titanic_52/usr/src/uts/common/os/ |
H A D | cyclic.c | 688 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument 689 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1) 712 #define CYC_TRACE(cpu, level, why, arg0, arg1) argument 717 #define CYC_TRACE0(cpu, level, why) CYC_TRACE(cpu, level, why, 0, 0) argument 718 #define CYC_TRACE1(cpu, level, why, arg0) CYC_TRACE(cpu, level, why, arg0, 0) argument 734 cyclic_upheap(cyc_cpu_t *cpu, cyc_index_t ndx) in cyclic_upheap() argument 744 heap = cpu->cyp_heap; in cyclic_upheap() 745 cyclics = cpu in cyclic_upheap() 777 cyclic_downheap(cyc_cpu_t * cpu,cyc_index_t ndx) cyclic_downheap() argument 852 cyclic_expire(cyc_cpu_t * cpu,cyc_index_t ndx,cyclic_t * cyclic) cyclic_expire() argument 943 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_fire() local 1039 cyclic_remove_pend(cyc_cpu_t * cpu,cyc_level_t level,cyclic_t * cyclic) cyclic_remove_pend() argument 1123 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_softint() local 1342 cyc_cpu_t *cpu = arg->cyx_cpu; cyclic_expand_xcall() local 1438 cyclic_expand(cyc_cpu_t * cpu) cyclic_expand() argument 1650 cyc_cpu_t *cpu = arg->cyx_cpu; cyclic_add_xcall() local 1716 cyclic_add_here(cyc_cpu_t * cpu,cyc_handler_t * hdlr,cyc_time_t * when,uint16_t flags) cyclic_add_here() argument 1758 cyc_cpu_t *cpu = arg->cyx_cpu; cyclic_remove_xcall() local 1894 cyclic_remove_here(cyc_cpu_t * cpu,cyc_index_t ndx,cyc_time_t * when,int wait) cyclic_remove_here() argument 1955 cyclic_reprogram_cyclic(cyc_cpu_t * cpu,cyc_index_t ndx,hrtime_t expire) cyclic_reprogram_cyclic() argument 2020 cyclic_reprogram_here(cyc_cpu_t * cpu,cyc_index_t ndx,hrtime_t expiration) cyclic_reprogram_here() argument 2146 cyc_cpu_t *cpu = idp->cyi_cpu, *dest; cyclic_juggle_one() local 2174 cyc_cpu_t *cpu = idp->cyi_cpu; cyclic_unbind_cpu() local 2204 cyc_cpu_t *dest = d->cpu_cyclic, *cpu = idp->cyi_cpu; cyclic_bind_cpu() local 2233 cyc_cpu_t *cpu = idp->cyi_cpu; cyclic_unbind_cpupart() local 2260 cyc_cpu_t *cpu = idp->cyi_cpu, *dest; cyclic_bind_cpupart() local 2285 cyc_cpu_t *cpu = kmem_zalloc(sizeof (cyc_cpu_t), KM_SLEEP); cyclic_configure() local 2336 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_unconfigure() local 2419 cyc_cpu_t *cpu = arg->cyx_cpu; cyclic_suspend_xcall() local 2449 cyc_cpu_t *cpu = arg->cyx_cpu; cyclic_resume_xcall() local 2484 cyclic_omni_start(cyc_id_t * idp,cyc_cpu_t * cpu) cyclic_omni_start() argument 2517 cyclic_omni_stop(cyc_id_t * idp,cyc_cpu_t * cpu) cyclic_omni_stop() argument 2833 cyc_cpu_t *cpu; cyclic_add_omni() local 2899 cyc_cpu_t *cpu = idp->cyi_cpu; cyclic_remove() local 2999 cyc_cpu_t *cpu = idp->cyi_cpu; cyclic_bind() local 3051 cyc_cpu_t *cpu; cyclic_reprogram() local 3205 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_juggle() local 3266 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_offline() local 3323 cyc_cpu_t *cpu = c->cpu_cyclic; cyclic_online() local 3395 cyc_cpu_t *cpu = idp->cyi_cpu; cyclic_move_in() local 3470 cyc_cpu_t *cpu = c->cpu_cyclic, *dest; cyclic_move_out() local 3561 cyc_cpu_t *cpu; cyclic_suspend() local 3613 cyc_cpu_t *cpu; cyclic_resume() local [all...] |
/titanic_52/usr/src/cmd/fm/dicts/ |
H A D | INTEL.dict | 29 fault.cpu.intel.internal=1 30 fault.cpu.intel.l0cache=2 31 fault.cpu.intel.l1cache=3 32 fault.cpu.intel.l2cache=4 33 fault.cpu.intel.cache=5 34 fault.cpu.intel.l0dtlb=6 35 fault.cpu.intel.l1dtlb=7 36 fault.cpu.intel.l2dtlb=8 37 fault.cpu.intel.dtlb=9 38 fault.cpu [all...] |
H A D | SUN4V.dict | 29 fault.cpu.ultraSPARC-T1.ireg=1 30 fault.cpu.ultraSPARC-T1.freg=2 31 fault.cpu.ultraSPARC-T1.itlb=3 32 fault.cpu.ultraSPARC-T1.dtlb=4 33 fault.cpu.ultraSPARC-T1.icache=5 34 fault.cpu.ultraSPARC-T1.dcache=6 35 fault.cpu.ultraSPARC-T1.mau=7 36 fault.cpu.ultraSPARC-T1.l2cachedata=8 37 fault.cpu.ultraSPARC-T1.l2cachetag=9 38 fault.cpu [all...] |
H A D | GMCA.dict | 29 fault.cpu.generic-x86.internal=1 30 fault.cpu.generic-x86.l0cache=2 31 fault.cpu.generic-x86.l1cache=3 32 fault.cpu.generic-x86.l2cache=4 33 fault.cpu.generic-x86.cache=5 34 fault.cpu.generic-x86.l0dtlb=6 35 fault.cpu.generic-x86.l1dtlb=7 36 fault.cpu.generic-x86.l2dtlb=8 37 fault.cpu.generic-x86.dtlb=9 38 fault.cpu [all...] |
/titanic_52/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhm.h | 50 #define SOCKET_BUS(cpu) (MAX_BUS_NUMBER - (cpu)) argument 51 #define CPU_ID_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 0, 0, 0, 0) argument 52 #define MC_CONTROL_RD(cpu) \ argument 53 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x48, 0) 54 #define MC_STATUS_RD(cpu) \ argument 55 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x4c, 0) 56 #define MC_SMI_SPARE_DIMM_ERROR_STATUS_RD(cpu) \ argument 57 nhm_pci_getl(SOCKET_BUS(cpu), 58 MC_CPU_RAS_RD(cpu) global() argument 60 MC_SCRUB_CONTROL_RD(cpu) global() argument 62 MC_SCRUB_CONTROL_WR(cpu,reg) global() argument 64 MC_SSR_CONTROL_RD(cpu) global() argument 65 MC_SSR_CONTROL_WR(cpu,reg) global() argument 67 MC_SSR_SCRUB_CONTROL_RD(cpu) global() argument 69 MC_RAS_ENABLES_RD(cpu) global() argument 70 MC_RAS_STATUS_RD(cpu) global() argument 71 MC_SSR_STATUS_RD(cpu) global() argument 72 MC_CHANNEL_MAPPER_RD(cpu) global() argument 74 MC_COR_ECC_CNT_RD(cpu,select) global() argument 76 MC_CHANNEL_RANK_PRESENT_RD(cpu,channel) global() argument 78 MC_DOD_RD(cpu,channel,select) global() argument 80 MC_SAG_RD(cpu,channel,select) global() argument 82 MC_RIR_LIMIT_RD(cpu,channel,select) global() argument 84 MC_RIR_WAY_RD(cpu,channel,select) global() argument 86 MC_CHANNEL_DIMM_INIT_PARAMS_RD(cpu,channel) global() argument 88 SAD_DRAM_RULE_RD(cpu,rule) global() argument 90 SAD_INTERLEAVE_LIST_RD(cpu,rule) global() argument 92 TAD_DRAM_RULE_RD(cpu,rule) global() argument 94 TAD_INTERLEAVE_LIST_RD(cpu,rule) global() argument 96 MC_DIMM_CLK_RATIO_STATUS(cpu) global() argument [all...] |
/titanic_52/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...] |
/titanic_52/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) in cpu_uec_write() argument 277 cpu_buf_write(hdl, cpu); in cpu_uec_write() 281 cpu_uec_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec, in cpu_uec_create() argument 290 cpu_uec_write(hdl, cpu, uec); in cpu_uec_create() 315 cpu_uec_flush_finish(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cpu_uec_flush_finish() argument 318 if (cpu->cpu_olduec.uec_cache != NULL) { in cpu_uec_flush_finish() 319 fmd_hdl_free(hdl, cpu->cpu_olduec.uec_cache, sizeof (uint64_t) * in cpu_uec_flush_finish() 320 cpu in cpu_uec_flush_finish() 333 cpu_uec_flush(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cpu_uec_flush() argument 390 cmd_cpu_uec_add(fmd_hdl_t * hdl,cmd_cpu_t * cpu,uint64_t pa) cmd_cpu_uec_add() argument 433 cmd_cpu_uec_set_allmatch(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cmd_cpu_uec_set_allmatch() argument 446 cmd_cpu_uec_match(cmd_cpu_t * cpu,uint64_t pa) cmd_cpu_uec_match() argument 507 cmd_xr_create(fmd_hdl_t * hdl,fmd_event_t * ep,nvlist_t * nvl,cmd_cpu_t * cpu,cmd_errcl_t clcode) cmd_xr_create() argument 596 cmd_xr_restore(fmd_hdl_t * hdl,cmd_cpu_t * cpu,fmd_case_t * cp) cmd_xr_restore() argument 1391 cmd_cpu_serdnm_create(fmd_hdl_t * hdl,cmd_cpu_t * cpu,const char * serdbase) cmd_cpu_serdnm_create() 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) cmd_cpu_create_faultlist() argument 1513 cmd_cpu_free(fmd_hdl_t * hdl,cmd_cpu_t * cpu,int destroy) cmd_cpu_free() argument 1558 cmd_cpu_destroy(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cmd_cpu_destroy() argument 1566 cmd_cpu_t *cpu; cpu_lookup_by_cpuid() local 1598 cpu_buf_write(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cpu_buf_write() argument 1609 cpu_buf_create(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cpu_buf_create() argument 1647 cmd_cpu_t *cpu; cpu_create() local 1721 cpu_all_threads_invalid(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cpu_all_threads_invalid() argument 1767 cmd_cpu_t *cpu; cmd_cpu_lookup() local 1917 cmd_cpu_t *cpu; cpu_wrapv3() local 1931 cpu_case_restore(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_case_t * cc,fmd_case_t * cp,const char * serdbase) cpu_case_restore() argument 1941 cmd_cpu_t *cpu; cmd_restore_cpu_only() local 2034 cmd_cpu_t *cpu; cmd_cpu_restore() local 2199 cmd_cpu_t *cpu, *cpun; cmd_cpu_validate() local 2244 cmd_cpu_t *cpu; cmd_xxu_flush_timeout() local 2272 cpu_gc_keep_one(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cpu_gc_keep_one() argument 2307 cmd_cpu_t *cpu, *next; cmd_cpu_gc() local 2330 cmd_cpu_t *cpu; cmd_cpu_fini() local [all...] |
/titanic_52/usr/src/uts/common/sys/ |
H A D | cpuvar.h | 82 typedef struct cpu { struct 86 struct cpu *cpu_self; /* pointer to itself */ argument 93 struct lgrp_ld *cpu_lpl; /* pointer to this cpu's load */ argument 105 struct cpu *cpu_next; /* next existing CPU */ argument 106 struct cpu *cpu_prev; /* prev existing CPU */ argument 107 struct cpu *cpu_next_onln; /* next online (enabled) CPU */ argument 108 struct cpu *cpu_prev_onln; /* prev online (enabled) CPU */ argument 109 struct cpu *cpu_next_part; /* next CPU in partition */ argument 110 struct cpu *cpu_prev_part; /* prev CPU in partition */ argument 111 struct cpu *cpu_next_lgr argument 83 cpu_idcpu global() argument 84 cpu_seqidcpu global() argument 85 cpu_flagscpu global() argument 87 cpu_threadcpu global() argument 88 cpu_idle_threadcpu global() argument 89 cpu_pause_threadcpu global() argument 90 cpu_lwpcpu global() argument 91 cpu_fpownercpu global() argument 92 cpu_partcpu global() argument 94 cpu_cache_offsetcpu global() argument 112 cpu_prev_lgrpcpu global() argument 113 cpu_next_lplcpu global() argument 114 cpu_prev_lplcpu global() argument 116 cpu_pgcpu global() argument 118 cpu_reservedcpu global() argument 123 cpu_dispcpu global() argument 129 cpu_runruncpu global() argument 130 cpu_kprunruncpu global() argument 131 cpu_chosen_levelcpu global() argument 133 cpu_dispthreadcpu global() argument 134 cpu_thread_lockcpu global() argument 135 cpu_disp_flagscpu global() argument 141 cpu_dispatch_pricpu global() argument 142 cpu_last_swtchcpu global() argument 147 cpu_intr_stackcpu global() argument 148 cpu_intr_threadcpu global() argument 149 cpu_intr_actvcpu global() argument 150 cpu_base_splcpu global() argument 155 cpu_statscpu global() argument 156 cpu_info_kstatcpu global() argument 158 cpu_profile_pccpu global() argument 159 cpu_profile_upccpu global() argument 160 cpu_profile_pilcpu global() argument 162 cpu_ftracecpu global() argument 164 cpu_deadman_countercpu global() argument 165 cpu_deadman_countdowncpu global() argument 167 cpu_cpc_ctxlockcpu global() argument 168 cpu_cpc_ctxcpu global() argument 173 cpu_type_infocpu global() argument 174 cpu_state_begincpu global() argument 175 cpu_cpr_flagscpu global() argument 176 cpu_cycliccpu global() argument 177 cpu_squeue_setcpu global() argument 178 cpu_propscpu global() argument 180 cpu_ft_lockcpu global() argument 181 cpu_dtrace_callercpu global() argument 182 cpu_dtrace_chillmarkcpu global() argument 183 cpu_dtrace_chilledcpu global() argument 184 cpu_dtrace_probescpu global() argument 185 cpu_dtrace_nseccpu global() argument 187 cpu_mstatecpu global() argument 188 cpu_mstate_gencpu global() argument 189 cpu_mstate_startcpu global() argument 190 cpu_acctcpu global() argument 191 cpu_intracctcpu global() argument 192 cpu_waitrqcpu global() argument 193 cpu_loadavgcpu global() argument 195 cpu_idstrcpu global() argument 196 cpu_brandstrcpu global() argument 202 cpu_intr_weightcpu global() argument 203 cpu_vm_datacpu global() argument 205 cpu_physidcpu global() argument 207 cpu_curr_clockcpu global() argument 208 cpu_supp_freqscpu global() argument 210 cpu_cpcprofile_pccpu global() argument 211 cpu_cpcprofile_upccpu global() argument 216 cpu_intrlastcpu global() argument 217 cpu_intrloadcpu global() argument 219 cpu_rotorcpu global() argument 221 cpu_cu_infocpu global() argument 229 cpu_generationcpu global() argument 238 cpu_m_padcpu global() argument 241 cpu_mcpu global() argument 349 CPU_ACTIVE(cpu) global() argument 428 CPUSET_ALL_BUT(set,cpu) global() argument 429 CPUSET_ONLY(set,cpu) global() argument 430 CPU_IN_SET(set,cpu) global() argument 431 CPUSET_ADD(set,cpu) global() argument 432 CPUSET_DEL(set,cpu) global() argument 441 CPUSET_FIND(set,cpu) global() argument 462 CPUSET_ATOMIC_DEL(set,cpu) global() argument 463 CPUSET_ATOMIC_ADD(set,cpu) global() argument 465 CPUSET_ATOMIC_XADD(set,cpu,result) global() argument 468 CPUSET_ATOMIC_XDEL(set,cpu,result) global() argument 500 CPUSET(cpu) global() argument 503 CPUSET_ALL_BUT(set,cpu) global() argument 504 CPUSET_ONLY(set,cpu) global() argument 505 CPU_IN_SET(set,cpu) global() argument 506 CPUSET_ADD(set,cpu) global() argument 507 CPUSET_DEL(set,cpu) global() argument 515 CPUSET_FIND(set,cpu) global() argument 524 CPUSET_ATOMIC_DEL(set,cpu) global() argument 525 CPUSET_ATOMIC_ADD(set,cpu) global() argument 527 CPUSET_ATOMIC_XADD(set,cpu,result) global() argument 530 CPUSET_ATOMIC_XDEL(set,cpu,result) global() argument 545 CPU_CPR_IS_OFFLINE(cpu) global() argument 546 CPU_CPR_IS_ONLINE(cpu) global() argument 547 CPU_SET_CPR_FLAGS(cpu,flag) global() argument [all...] |
/titanic_52/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...] |
/titanic_52/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_Lxcache.c | 134 " cpu = %s\n" in cmd_pretty_print_Lxcache() 151 cmd_Lxcache_free(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_Lxcache_t *Lxcache, in cmd_Lxcache_free() argument 189 cmd_list_delete(&cpu->cpu_Lxcaches, Lxcache); in cmd_Lxcache_free() 194 cmd_Lxcache_destroy(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_Lxcache_t *Lxcache) in cmd_Lxcache_destroy() argument 196 cmd_Lxcache_free(hdl, cpu, Lxcache, FMD_B_TRUE); in cmd_Lxcache_destroy() 200 cmd_Lxcache_lookup_by_type_index_way_bit(cmd_cpu_t *cpu, in cmd_Lxcache_lookup_by_type_index_way_bit() argument 205 for (Lxcache = cmd_list_next(&cpu->cpu_Lxcaches); Lxcache != NULL; in cmd_Lxcache_lookup_by_type_index_way_bit() 218 cmd_Lxcache_create(fmd_hdl_t *hdl, cmd_xr_t *xr, cmd_cpu_t *cpu, in cmd_Lxcache_create() argument 230 pstype_name, cpu->cpu_cpuid, index, way, bit); in cmd_Lxcache_create() 232 CMD_CPU_STAT_BUMP(cpu, Lxcache_crea in cmd_Lxcache_create() 301 cmd_Lxcache_lookup_by_index_way(cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index,int8_t way) cmd_Lxcache_lookup_by_index_way() argument 340 cmd_cpu_t *cpu; cmd_Lxcache_restore() local 435 cmd_Lxcache_validate(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cmd_Lxcache_validate() argument 463 cmd_Lxcache_fini(fmd_hdl_t * hdl,cmd_cpu_t * cpu) cmd_Lxcache_fini() argument 511 cmd_Lx_index_count_type2_ways(cmd_cpu_t * cpu) cmd_Lx_index_count_type2_ways() argument 531 cmd_Lx_index_count_type1_ways(cmd_cpu_t * cpu) cmd_Lx_index_count_type1_ways() argument 548 cmd_fault_the_cpu(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,const char * fltnm) cmd_fault_the_cpu() argument 568 cmd_retire_cpu_if_limits_exceeded(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,const char * fltnm) cmd_retire_cpu_if_limits_exceeded() argument 591 cmd_Lxcache_fault(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * Lxcache,const char * fltnm,nvlist_t * rsrc,uint_t cert) cmd_Lxcache_fault() argument 638 cmd_cpu_t *cpu; cmd_Lxcache_close() local 678 cmd_cpu_t *cpu; cmd_Lxcache_lookup_by_timeout_id() local 696 cmd_cpu_t *cpu; cmd_Lxcache_gc() local 704 get_tagdata(cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index,uint64_t * tag_data) get_tagdata() argument 759 get_index_retired_ways(cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index) get_index_retired_ways() argument 777 cmd_cache_way_retire(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * Lxcache) cmd_cache_way_retire() argument 828 cmd_cache_way_unretire(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * Lxcache) cmd_cache_way_unretire() argument 879 cmd_Lxcache_lookup_by_type_index_way_flags(cmd_cpu_t * cpu,cmd_ptrsubtype_t type,int32_t index,int8_t way,int32_t flags) cmd_Lxcache_lookup_by_type_index_way_flags() argument 897 cmd_Lxcache_get_bit_array_of_available_ways(cmd_cpu_t * cpu,cmd_ptrsubtype_t type,int32_t index) cmd_Lxcache_get_bit_array_of_available_ways() argument 984 cmd_Lxcache_get_next_retirable_way(cmd_cpu_t * cpu,int32_t index,cmd_ptrsubtype_t pstype,int8_t specified_way) cmd_Lxcache_get_next_retirable_way() argument 1005 cmd_Lxcache_get_lowest_retirable_way(cmd_cpu_t * cpu,int32_t index,cmd_ptrsubtype_t pstype) cmd_Lxcache_get_lowest_retirable_way() argument 1017 cmd_Lxcache_lookup_by_type_index_way_reason(cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index,int8_t way,int32_t reason) cmd_Lxcache_lookup_by_type_index_way_reason() argument 1036 cmd_Lxcache_lookup_by_type_index_bit_reason(cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index,int16_t bit,int32_t reason) cmd_Lxcache_lookup_by_type_index_bit_reason() argument 1055 cmd_Lxcache_destroy_anonymous_serd_engines(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_ptrsubtype_t type,int32_t index,int16_t bit) cmd_Lxcache_destroy_anonymous_serd_engines() argument 1129 cmd_create_case_for_Lxcache(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * cmd_Lxcache) cmd_create_case_for_Lxcache() argument 1173 cmd_Lxcache_unretire(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * unretire_this_Lxcache,const char * fltnm) cmd_Lxcache_unretire() argument 1309 cmd_Lxcache_retire(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * retire_this_Lxcache,const char * fltnm,uint_t cert) cmd_Lxcache_retire() argument [all...] |
H A D | cmd_Lxcacheerr.c | 40 #include <sys/fm/cpu/UltraSPARC-III.h> 380 cmd_cpu_t *cpu, in extract_data_from_ereport_payload() argument 398 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload() 417 return (get_tagdata(cpu, pstype, index, tag_data)); in extract_data_from_ereport_payload() 423 fltnm, cpu->cpu_cpuid, index, payload_namep); in extract_data_from_ereport_payload() 427 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload() 428 return (get_tagdata(cpu, pstype, index, in extract_data_from_ereport_payload() 438 print_ecc(fmd_hdl_t *hdl, cmd_cpu_t *cpu, const char *fltnm, uint64_t *tag_data) in print_ecc() argument 451 fltnm, cpu->cpu_cpuid, tag_ecc[0], tag_ecc[1], tag_ecc[2], in print_ecc() 605 cmd_create_and_destroy_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_create_and_destroy_Lxcache() argument 636 cmd_Lxcache_retire_as_reason(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * Lxcache,const char * fltnm,int32_t reason) cmd_Lxcache_retire_as_reason() argument 685 retire_lowest_retirable_way_as_suspect(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * anonymous_Lxcache,const char * fltnm) retire_lowest_retirable_way_as_suspect() argument 779 unretire_suspect_and_retire_next_retirable_way(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_Lxcache_t * suspect_Lxcache,cmd_Lxcache_t * anonymous_Lxcache,const char * fltnm) unretire_suspect_and_retire_next_retirable_way() argument 882 find_and_destroy_anonymous_Lxcache(fmd_hdl_t * hdl,cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,int32_t index) find_and_destroy_anonymous_Lxcache() argument 957 cmd_us4plus_tag_err(fmd_hdl_t * hdl,fmd_event_t * ep,nvlist_t * nvl,cmd_cpu_t * cpu,cmd_ptrsubtype_t pstype,const char * serdn,const char * serdt,const char * fltnm,cmd_errcl_t clcode) cmd_us4plus_tag_err() argument 1624 cmd_cpu_t *cpu = xr->xr_cpu; cmd_cache_ce_panther() local 1974 cmd_xr_pn_cache_fill(fmd_hdl_t * hdl,nvlist_t * nvl,cmd_xr_t * xr,cmd_cpu_t * cpu,cmd_errcl_t clcode) cmd_xr_pn_cache_fill() argument [all...] |
/titanic_52/usr/src/cmd/intrd/ |
H A D | intrd.pl | 132 # {<cpuid>} one hash reference per online cpu 133 # ->{"tot"} == cpu:<cpuid>:sys:cpu_nsec_{user + kernel + idle} 134 # ->{"crtime"} == cpu:<cpuid>:sys:crtime 173 # Iterate over the cpus in cpu:<cpuid>::. Check 178 # Record cpu:<cpuid>:sys:snaptime, and check $minsnap/$maxsnap. 180 while (my ($cpu, $cpst) = each %{$ks->{cpu}}) { 181 next if !exists($ks->{cpu_info}{$cpu}{"cpu_info$cpu"}{state}); 184 my $state = $ks->{cpu_info}{$cpu}{"cpu_inf [all...] |
/titanic_52/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...] |
/titanic_52/usr/src/cmd/mdb/common/kmdb/ |
H A D | kvm_cpu.c | 58 kmt_cpu_t *cpu; in kmt_cpu_create() local 63 if ((cpu = kmt_cpu_ctors[i](t)) != NULL) in kmt_cpu_create() 64 return (cpu); in kmt_cpu_create() 76 kmt_cpu_destroy(kmt_cpu_t *cpu) in kmt_cpu_destroy() argument 78 if (cpu != NULL) in kmt_cpu_destroy() 79 cpu->kmt_cpu_ops->kco_destroy(cpu); in kmt_cpu_destroy() 83 kmt_cpu_step_branch(mdb_tgt_t *t, kmt_cpu_t *cpu) in kmt_cpu_step_branch() argument 85 if (cpu == NULL || cpu in kmt_cpu_step_branch() 92 kmt_cpu_name(kmt_cpu_t * cpu) kmt_cpu_name() argument [all...] |
/titanic_52/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
H A D | cma_cpu_sun4v.c | 135 cma_cpu_t *cpu; in cma_cpu_start_retry() local 163 * check to see if the cpu has been offline. in cma_cpu_start_retry() 165 fmd_hdl_debug(hdl, "cpu %u is not offline yet - sleeping\n", cpuid); in cma_cpu_start_retry() 168 * Create a cpu node and add to the head of the cpu list in cma_cpu_start_retry() 170 cpu = fmd_hdl_zalloc(hdl, sizeof (cma_cpu_t), FMD_SLEEP); in cma_cpu_start_retry() 171 (void) nvlist_dup(fmri, &cpu->cpu_fmri, 0); in cma_cpu_start_retry() 173 cpu->cpu_uuid = fmd_hdl_strdup(hdl, uuid, FMD_SLEEP); in cma_cpu_start_retry() 175 cpu->cpuid = cpuid; in cma_cpu_start_retry() 176 cpu in cma_cpu_start_retry() 227 cpu_retry(fmd_hdl_t * hdl,cma_cpu_t * cpu) cpu_retry() argument 263 cma_cpu_free(fmd_hdl_t * hdl,cma_cpu_t * cpu) cma_cpu_free() argument 282 cma_cpu_t *cpu = *cpup; cma_cpu_retry() local 318 cma_cpu_t *cpu; cma_cpu_fini() local [all...] |
/titanic_52/usr/src/uts/intel/sys/ |
H A D | x86_archext.h | 736 struct cpu; 738 extern int cpuid_checkpass(struct cpu *, int); 739 extern uint32_t cpuid_insn(struct cpu *, struct cpuid_regs *); 741 extern int cpuid_getbrandstr(struct cpu *, char *, size_t); 742 extern int cpuid_getidstr(struct cpu *, char *, size_t); 743 extern const char *cpuid_getvendorstr(struct cpu *); 744 extern uint_t cpuid_getvendor(struct cpu *); 745 extern uint_t cpuid_getfamily(struct cpu *); 746 extern uint_t cpuid_getmodel(struct cpu *); 747 extern uint_t cpuid_getstep(struct cpu *); [all...] |
/titanic_52/usr/src/cmd/mdb/sun4v/modules/errh/ |
H A D | errh.c | 43 cpu_t cpu; in resumable() local 63 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in resumable() 64 mdb_warn("failed to read cpu at %p", current); in resumable() 69 if (cpu.cpu_m.cpu_rq_lastre == 0) in resumable() 70 mdb_printf("%-5d empty\n", cpu.cpu_id); in resumable() 72 mdb_printf("%-5d %lx\n", cpu.cpu_id, in resumable() 73 cpu.cpu_m.cpu_rq_lastre); in resumable() 74 } else if (cpu.cpu_m.cpu_rq_lastre != 0) in resumable() 75 mdb_printf("%lx\n", cpu in resumable() 86 cpu_t cpu; nonresumable() local 129 cpu_t cpu; rqueue() local 168 cpu_t cpu; nrqueue() local 215 cpu_t cpu; rq_walk_init() local 252 cpu_t cpu; nrq_walk_init() local [all...] |
/titanic_52/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 39 cyccpu_vread(cyc_cpu_t *cpu, uintptr_t addr) in cyccpu_vread() argument 48 cyccpu_size = (cyc_trace_enabled) ? sizeof (*cpu) : in cyccpu_vread() 52 if (mdb_vread(cpu, cyccpu_size, addr) == -1) in cyccpu_vread() 56 bzero(cpu->cyp_trace, sizeof (cpu->cyp_trace)); in cyccpu_vread() 64 if (mdb_layered_walk("cpu", wsp) == -1) { in cyccpu_walk_init() 65 mdb_warn("couldn't walk 'cpu'"); in cyccpu_walk_init() 76 cyc_cpu_t cpu; in cyccpu_walk_step() local 78 if (cyccpu_vread(&cpu, addr) == -1) { in cyccpu_walk_step() 83 return (wsp->walk_callback(addr, &cpu, ws in cyccpu_walk_step() 132 cyclic_dump_node(cyc_cpu_t * cpu,cyc_index_t * heap,char ** c,size_t w,int ndx,int l,int r,int depth) cyclic_dump_node() argument 192 cyclic_pretty_dump(cyc_cpu_t * cpu) cyclic_pretty_dump() argument 251 cyc_cpu_t cpu; cycinfo() local 469 cyc_cpu_t *cpu; cyctrace_walk_init() local 516 cyc_cpu_t *cpu = wsp->walk_data; cyctrace_walk_step() local 565 cyc_cpu_t *cpu = wsp->walk_data; cyctrace_walk_fini() local 573 cyctrace_walk(uintptr_t addr,const cyc_tracerec_t * rec,cyc_cpu_t * cpu) cyctrace_walk() argument 710 cyc_cpu_t cpu; cycid_cpu() local [all...] |
/titanic_52/usr/src/cmd/fm/eversholt/files/sparc/sun4v/ |
H A D | gcpu.esc | 28 * eversholt rules for generic-sparc sparc cpu errors. 63 * serd.cpu.generic-sparc.<resource><suffix> 64 * Ex: serd.cpu.generic-sparc.chipitlb 79 * Ereport event for cpu errors 82 event ereport.cpu.generic-sparc.leafclass@level { within(1s) } 85 * Ereports for uncorrectable cpu errors 126 event fault.cpu.generic-sparc.fltleaf@level; \ 128 prop fault.cpu.generic-sparc.fltleaf@level \ 130 ereport.cpu.generic-sparc.erptleaf@level; \ 132 event upset.cpu [all...] |
/titanic_52/usr/src/cmd/powertop/common/ |
H A D | turbo.c | 117 int cpu; in pt_turbo_snapshot() local 123 for (cpu = 0; cpu < g_ncpus; cpu++) { in pt_turbo_snapshot() 124 turbo_info = &turbo_snapshot[cpu]; in pt_turbo_snapshot() 125 ksp = kstat_lookup(kc, "turbo", g_cpu_table[cpu], NULL); in pt_turbo_snapshot() 128 cpu); in pt_turbo_snapshot() 135 cpu); in pt_turbo_snapshot() 143 "%d\n", cpu); in pt_turbo_snapshot() 156 "%d\n", cpu); in pt_turbo_snapshot() 198 int cpu; pt_turbo_stat_collect() local [all...] |
/titanic_52/usr/src/cmd/pbind/ |
H A D | pbind.c | 100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out() argument 113 if (cpu == PBIND_NONE) in query_out() 118 proclwp, pidstr, cpu); in query_out() 125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err() argument 129 switch (cpu) { in bind_err() 218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) in bind_lwp() argument 222 if (pr_processor_bind(Pr, P_LWPID, lwpid, cpu, &old_cpu) < 0) { in bind_lwp() 223 bind_err(cpu, pid, lwpid, errno); in bind_lwp() 229 bind_out(pid, lwpid, old_cpu, cpu); in bind_lwp() 237 do_lwps(id_t pid, const char *range, processorid_t cpu) in do_lwps() argument 353 exec_cmd(processorid_t cpu,char * cmd,char ** args) exec_cmd() argument 371 processorid_t cpu; parse_cpu() local 401 processorid_t cpu, old_cpu; main() local [all...] |
/titanic_52/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/ |
H A D | system-board.info | 72 PROP SlotType string r 0 "cpu" 76 PROP SlotType string r 0 "cpu" 84 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0 85 name:/frutree/chassis/MB/system-board/P0/cpu 86 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 87 name:/frutree/chassis/MB/system-board/P0/cpu/F0 91 name:/frutree/chassis/MB/system-board/P0/cpu 92 REFNODE F1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 93 name:/frutree/chassis/MB/system-board/P0/cpu/F1 97 name:/frutree/chassis/MB/system-board/P0/cpu [all...] |
/titanic_52/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/ |
H A D | system-board.info | 87 REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,be 90 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,be 92 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,be 99 REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,ce 102 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,ce 104 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,ce 111 REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,de 114 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,de 116 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,de 123 REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu [all...] |