/titanic_44/usr/src/uts/common/sys/ |
H A D | cpuvar.h | 82 typedef struct cpu { struct 83 processorid_t cpu_id; /* CPU number */ argument 84 processorid_t cpu_seqid; /* sequential CPU id (0..ncpus-1) */ argument 85 volatile cpu_flag_t cpu_flags; /* flags indicating CPU state */ argument 86 struct cpu *cpu_self; /* pointer to itself */ argument 87 kthread_t *cpu_thread; /* current thread */ argument 88 kthread_t *cpu_idle_thread; /* idle thread for this CPU */ argument 89 kthread_t *cpu_pause_thread; /* pause thread for this CPU */ argument 90 klwp_id_t cpu_lwp; /* current lwp (if any) */ argument 91 klwp_id_t cpu_fpowner; /* currently loaded fpu owner */ argument [all …]
|
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_Lxcache.c | 151 cmd_Lxcache_free(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_Lxcache_t *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() 200 cmd_Lxcache_lookup_by_type_index_way_bit(cmd_cpu_t *cpu, 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() 301 cmd_Lxcache_lookup_by_index_way(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, in cmd_Lxcache_lookup_by_index_way() 340 cmd_cpu_t *cpu; in cmd_Lxcache_restore() local 435 cmd_Lxcache_validate(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cmd_Lxcache_validate() 463 cmd_Lxcache_fini(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cmd_Lxcache_fini() 511 cmd_Lx_index_count_type2_ways(cmd_cpu_t *cpu) in cmd_Lx_index_count_type2_ways() 531 cmd_Lx_index_count_type1_ways(cmd_cpu_t *cpu) in cmd_Lx_index_count_type1_ways() [all …]
|
H A D | cmd_Lxcacheerr.c | 380 cmd_cpu_t *cpu, 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() 605 cmd_create_and_destroy_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_create_and_destroy_Lxcache() 636 cmd_Lxcache_retire_as_reason(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_Lxcache_retire_as_reason() 685 retire_lowest_retirable_way_as_suspect(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in retire_lowest_retirable_way_as_suspect() 779 unretire_suspect_and_retire_next_retirable_way(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in unretire_suspect_and_retire_next_retirable_way() 882 find_and_destroy_anonymous_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in find_and_destroy_anonymous_Lxcache() 957 cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, in cmd_us4plus_tag_err() 1624 cmd_cpu_t *cpu = xr->xr_cpu; in cmd_cache_ce_panther() local 1974 cmd_cpu_t *cpu, cmd_errcl_t clcode) in cmd_xr_pn_cache_fill()
|
/titanic_44/usr/src/cmd/mdb/common/kmdb/ |
H A D | kvm_cpu.c | 58 kmt_cpu_t *cpu; in kmt_cpu_create() local 76 kmt_cpu_destroy(kmt_cpu_t *cpu) in kmt_cpu_destroy() 83 kmt_cpu_step_branch(mdb_tgt_t *t, kmt_cpu_t *cpu) in kmt_cpu_step_branch() 92 kmt_cpu_name(kmt_cpu_t *cpu) in kmt_cpu_name()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | cyclic.c | 688 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument 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() 777 cyclic_downheap(cyc_cpu_t *cpu, cyc_index_t ndx) in cyclic_downheap() 852 cyclic_expire(cyc_cpu_t *cpu, cyc_index_t ndx, cyclic_t *cyclic) in cyclic_expire() 943 cyc_cpu_t *cpu = c->cpu_cyclic; in cyclic_fire() local 1039 cyclic_remove_pend(cyc_cpu_t *cpu, cyc_level_t level, cyclic_t *cyclic) in cyclic_remove_pend() 1123 cyc_cpu_t *cpu = c->cpu_cyclic; in cyclic_softint() local [all …]
|
H A D | pool_pset.c | 105 cpu_t *cpu; member 287 cpu_t *cpu; in pool_pset_disable() local 541 struct cpu *cpu; in pool_pset_xtransfer() local 761 cpu_t *cpu; in pool_cpu_propput() local 810 cpu_t *cpu; in pool_cpu_proprm() local 849 cpu_t *cpu; in pool_pset_pack() local 959 cpu_t *cpu; in pool_cpu_propget() local
|
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 261 cpu_uec_write(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec) 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() 315 cpu_uec_flush_finish(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cpu_uec_flush_finish() 333 cpu_uec_flush(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cpu_uec_flush() 390 cmd_cpu_uec_add(fmd_hdl_t *hdl, cmd_cpu_t *cpu, uint64_t pa) in cmd_cpu_uec_add() 433 cmd_cpu_uec_set_allmatch(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cmd_cpu_uec_set_allmatch() 446 cmd_cpu_uec_match(cmd_cpu_t *cpu, uint64_t pa) in cmd_cpu_uec_match() 507 cmd_cpu_t *cpu, cmd_errcl_t clcode) in cmd_xr_create() 596 cmd_xr_restore(fmd_hdl_t *hdl, cmd_cpu_t *cpu, fmd_case_t *cp) in cmd_xr_restore() 1391 cmd_cpu_serdnm_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu, const char *serdbase) in cmd_cpu_serdnm_create() [all …]
|
/titanic_44/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 54 #define MC_STATUS_RD(cpu) \ argument 56 #define MC_SMI_SPARE_DIMM_ERROR_STATUS_RD(cpu) \ argument 58 #define MC_CPU_RAS_RD(cpu) \ argument 60 #define MC_SCRUB_CONTROL_RD(cpu) \ argument 62 #define MC_SCRUB_CONTROL_WR(cpu, reg) nhm_pci_putl(SOCKET_BUS(cpu), 3, 2, \ argument 64 #define MC_SSR_CONTROL_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, 0x48, 0) argument 65 #define MC_SSR_CONTROL_WR(cpu, reg) nhm_pci_putl(SOCKET_BUS(cpu), 3, 2, 0x48, \ argument [all …]
|
/titanic_44/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 99 struct cpu *cpu = CPU; in apix_remove_pending_av() local 227 apix_do_softint_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, in apix_do_softint_prolog() 300 apix_do_softint_epilog(struct cpu *cpu, uint_t oldpil) in apix_do_softint_epilog() 359 struct cpu *cpu = CPU; in apix_dispatch_softint() local 381 struct cpu *cpu = CPU; in apix_do_softint() local 403 apix_hilevel_intr_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, in apix_hilevel_intr_prolog() 483 apix_hilevel_intr_epilog(struct cpu *cpu, uint_t oldpil) in apix_hilevel_intr_epilog() 570 apix_do_pending_hilevel(struct cpu *cpu, struct regs *rp) in apix_do_pending_hilevel() 605 apix_intr_thread_prolog(struct cpu *cpu, uint_t pil, caddr_t stackptr) in apix_intr_thread_prolog() 675 apix_intr_thread_epilog(struct cpu *cpu, uint_t oldpil) in apix_intr_thread_epilog() [all …]
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | intr.c | 510 struct cpu *cpu = CPU; in set_base_spl() local 527 hilevel_intr_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, struct regs *rp) in hilevel_intr_prolog() 623 hilevel_intr_epilog(struct cpu *cpu, uint_t pil, uint_t oldpil, uint_t vecnum) in hilevel_intr_epilog() 704 intr_thread_prolog(struct cpu *cpu, caddr_t stackptr, uint_t pil) in intr_thread_prolog() 770 intr_thread_epilog(struct cpu *cpu, uint_t vec, uint_t oldpil) in intr_thread_epilog() 907 struct cpu *cpu; in intr_get_time() local 939 struct cpu *cpu, in dosoftint_prolog() 1049 dosoftint_epilog(struct cpu *cpu, uint_t oldpil) in dosoftint_epilog() 1208 cpu_t *cpu; in cpu_intr_swtch_enter() local 1276 struct cpu *cpu = CPU; in dispatch_softint() local [all …]
|
H A D | cpuid.c | 576 cpuid_alloc_space(cpu_t *cpu) in cpuid_alloc_space() 590 cpuid_free_space(cpu_t *cpu) in cpuid_free_space() 736 cpuid_intel_getids(cpu_t *cpu, void *feature) in cpuid_intel_getids() 797 cpuid_amd_getids(cpu_t *cpu) in cpuid_amd_getids() 948 cpuid_pass1(cpu_t *cpu, uchar_t *featureset) in cpuid_pass1() 1753 cpuid_pass2(cpu_t *cpu) in cpuid_pass2() 2519 cpuid_pass3(cpu_t *cpu) in cpuid_pass3() 2680 cpuid_pass4(cpu_t *cpu, uint_t *hwcap_out) in cpuid_pass4() 2950 cpuid_insn(cpu_t *cpu, struct cpuid_regs *cp) in cpuid_insn() 2986 cpuid_checkpass(cpu_t *cpu, int pass) in cpuid_checkpass() [all …]
|
H A D | mach_kdi.c | 125 kdi_stop_slaves(int cpu, int doxc) in kdi_stop_slaves() 161 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit() local 182 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit() local
|
/titanic_44/usr/src/uts/sun4v/os/ |
H A D | intrq.c | 36 cpu_intrq_register(struct cpu *cpu) in cpu_intrq_register() 63 cpu_intrq_setup(struct cpu *cpu) in cpu_intrq_setup() 183 cpu_intrq_cleanup(struct cpu *cpu) in cpu_intrq_cleanup()
|
/titanic_44/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 227 cpu_retry(fmd_hdl_t *hdl, cma_cpu_t *cpu) in cpu_retry() 263 cma_cpu_free(fmd_hdl_t *hdl, cma_cpu_t *cpu) in cma_cpu_free() 282 cma_cpu_t *cpu = *cpup; in cma_cpu_retry() local 318 cma_cpu_t *cpu; in cma_cpu_fini() local
|
/titanic_44/usr/src/cmd/mdb/sun4v/modules/errh/ |
H A D | errh.c | 43 cpu_t cpu; in resumable() local 86 cpu_t cpu; in nonresumable() local 129 cpu_t cpu; in rqueue() local 168 cpu_t cpu; in nrqueue() local 215 cpu_t cpu; in rq_walk_init() local 252 cpu_t cpu; in nrq_walk_init() local
|
/titanic_44/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() 76 cyc_cpu_t cpu; in cyccpu_walk_step() local 132 cyclic_dump_node(cyc_cpu_t *cpu, cyc_index_t *heap, char **c, size_t w, in cyclic_dump_node() 192 cyclic_pretty_dump(cyc_cpu_t *cpu) in cyclic_pretty_dump() 251 cyc_cpu_t cpu; in cycinfo() local 469 cyc_cpu_t *cpu; in cyctrace_walk_init() local 516 cyc_cpu_t *cpu = wsp->walk_data; in cyctrace_walk_step() local 565 cyc_cpu_t *cpu = wsp->walk_data; in cyctrace_walk_fini() local 573 cyctrace_walk(uintptr_t addr, const cyc_tracerec_t *rec, cyc_cpu_t *cpu) in cyctrace_walk() 710 cyc_cpu_t cpu; in cycid_cpu() local
|
/titanic_44/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_cpu_amd.c | 95 kmt_amd_destroy(kmt_cpu_t *cpu) in kmt_amd_destroy() 104 kmt_amd_name(kmt_cpu_t *cpu) in kmt_amd_name() 125 kmt_amd_step_branch(kmt_cpu_t *cpu, mdb_tgt_t *t) in kmt_amd_step_branch() 184 kmt_cpu_t *cpu; in kmt_cpu_amd_create() local
|
H A D | kvm_cpu_p4.c | 263 kmt_p4_destroy(kmt_cpu_t *cpu) in kmt_p4_destroy() 272 kmt_p4_name(kmt_cpu_t *cpu) in kmt_p4_name() 292 kmt_p4_step_branch(kmt_cpu_t *cpu, mdb_tgt_t *t) in kmt_p4_step_branch() 396 kmt_cpu_t *cpu; in kmt_cpu_p4_create() local
|
/titanic_44/usr/src/cmd/pbind/ |
H A D | pbind.c | 100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out() 125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err() 218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) in bind_lwp() 237 do_lwps(id_t pid, const char *range, processorid_t cpu) in do_lwps() 367 processorid_t cpu, old_cpu; in main() local
|
/titanic_44/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 209 xen_bind_virq(unsigned int virq, processorid_t cpu, int *port) in xen_bind_virq() 274 xen_bind_ipi(processorid_t cpu) in xen_bind_ipi() 288 xen_bind_vcpu(int evtchn, int cpu) in xen_bind_vcpu() 366 alloc_irq_evtchn(int irq, int index, int evtchn, int cpu) in alloc_irq_evtchn() 398 alloc_irq(int type, int index, int evtchn, int cpu) in alloc_irq() 513 ec_bind_vcpu(int evtchn, int cpu) in ec_bind_vcpu() 691 ec_bind_virq_to_irq(int virq, int cpu) in ec_bind_virq_to_irq() 717 ec_bind_ipi_to_irq(int ipl, int cpu) in ec_bind_ipi_to_irq() 752 ec_bind_cpu_ipis(int cpu) in ec_bind_cpu_ipis() 784 ec_irq_needs_rebind(int irq, int cpu) in ec_irq_needs_rebind() [all …]
|
H A D | mach_kdi.c | 114 kdi_stop_slaves(int cpu, int doxc) in kdi_stop_slaves() 168 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit() local 223 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit() local
|
/titanic_44/usr/src/cmd/powertop/common/ |
H A D | turbo.c | 117 int cpu; in pt_turbo_snapshot() local 198 int cpu; in pt_turbo_stat_collect() local
|
/titanic_44/usr/src/cmd/psradm/ |
H A D | psradm.c | 112 psr_set_state(processorid_t cpu, int action, psr_action_t *pac, int mustexist) in psr_set_state() 192 processorid_t cpu; in do_range() local 216 processorid_t cpu; in main() local
|
/titanic_44/usr/src/uts/i86pc/sys/ |
H A D | apix.h | 136 #define HILEVEL_PENDING(cpu) \ argument 138 #define LOWLEVEL_PENDING(cpu) \ argument 140 #define IS_HILEVEL_RUNNING(cpu) \ argument 142 #define IS_LOWLEVEL_RUNNING(cpu) \ argument 176 #define xv_vector(cpu, v) apixs[(cpu)]->x_vectbl[(v)] argument 177 #define xv_intrmap_private(cpu, v) (xv_vector(cpu, v))->v_intrmap_private argument
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | cbe.c | 81 cpu_t *cpu = CPU; in cbe_low_level() local 96 cpu_t *cpu = CPU; in cbe_fire() local 206 cbe_configure(cpu_t *cpu) in cbe_configure()
|