Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c102 struct cpu *cpu = CPU; in apix_remove_pending_av() local
260 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in apix_do_softint_prolog()
322 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in apix_do_softint_epilog()
372 struct cpu *cpu = CPU; in apix_dispatch_softint() local
394 struct cpu *cpu = CPU; in apix_do_softint() local
457 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in apix_hilevel_intr_prolog()
531 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in apix_hilevel_intr_epilog()
783 struct cpu *cpu = CPU; in apix_dispatch_pending_hardint() local
839 struct cpu *cpu = CPU; in apix_dispatch_by_vector() local
881 struct cpu *cpu = CPU; in apix_dispatch_lowlevel() local
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dintr.c522 struct cpu *cpu = CPU; in set_base_spl() local
671 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in hilevel_intr_epilog()
803 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in intr_thread_epilog()
926 struct cpu *cpu; in intr_get_time() local
950 cpu->cpu_intracct[cpu->cpu_mstate] += delta; in intr_get_time()
958 struct cpu *cpu, in dosoftint_prolog() argument
1069 dosoftint_epilog(struct cpu *cpu, uint_t oldpil) in dosoftint_epilog() argument
1298 struct cpu *cpu = CPU; in dispatch_softint() local
1317 struct cpu *cpu = CPU; in dispatch_hardint() local
1337 struct cpu *cpu = CPU; in dosoftint() local
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcyclic.c1058 CYC_TRACE(cpu, level, "remove-rpend", cyclic, cpu->cyp_rpend); in cyclic_remove_pend()
1376 ASSERT(cpu->cyp_heap != NULL && cpu->cyp_cyclics != NULL); in cyclic_expand_xcall()
1667 ASSERT(cpu->cyp_nelems < cpu->cyp_size); in cyclic_add_xcall()
1737 if (cpu->cyp_nelems == cpu->cyp_size) { in cyclic_add_here()
1743 ASSERT(cpu->cyp_nelems < cpu->cyp_size); in cyclic_add_here()
2004 cpu->cyp_state == CYS_REMOVING && cpu->cyp_rpend > 0) { in cyclic_reprogram_cyclic()
2495 cyclic_t *cyclic = &cpu->cyp_cyclics[cpu->cyp_heap[0]]; in cyclic_resume_xcall()
2861 cyc_cpu_t *cpu; in cyclic_add_omni() local
3079 cyc_cpu_t *cpu; in cyclic_reprogram() local
3653 cyc_cpu_t *cpu; in cyclic_suspend() local
[all …]
/illumos-gate/usr/src/cmd/fm/dicts/
H A DINTEL.dict30 fault.cpu.intel.l0cache=2
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
41 fault.cpu.intel.itlb=13
42 fault.cpu.intel.l0tlb=14
43 fault.cpu.intel.l1tlb=15
44 fault.cpu.intel.l2tlb=16
[all …]
H A DSUN4V.dict29 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
35 fault.cpu.ultraSPARC-T1.mau=7
43 fault.cpu.ultraSPARC-T2.ireg=15
44 fault.cpu.ultraSPARC-T2.freg=16
46 fault.cpu.ultraSPARC-T2.itlb=18
47 fault.cpu.ultraSPARC-T2.dtlb=19
[all …]
H A DGMCA.dict33 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
41 fault.cpu.generic-x86.itlb=13
42 fault.cpu.generic-x86.l0tlb=14
43 fault.cpu.generic-x86.l1tlb=15
44 fault.cpu.generic-x86.l2tlb=16
45 fault.cpu.generic-x86.tlb=17
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.h50 #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
54 #define MC_STATUS_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
67 #define MC_SSR_SCRUB_CONTROL_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, \ argument
69 #define MC_RAS_ENABLES_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, 0x50, 0) argument
70 #define MC_RAS_STATUS_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, 0x54, 0) argument
71 #define MC_SSR_STATUS_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, 0x60, 0) argument
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frutree/
H A Dsystem-board.info216 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu
218 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0
224 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu
226 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1
239 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu
241 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0
247 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu
262 name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu
270 name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu
285 name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c367 cpu_uec_write(hdl, cpu, &cpu->cpu_uec); in cpu_uec_flush()
427 cpu_uec_write(hdl, cpu, &cpu->cpu_uec); in cmd_cpu_uec_set_allmatch()
1451 core2cpus(cpu->cpu_cpuid, cpu->cpu_type, cpu->cpu_level, in cmd_cpu_create_faultlist()
1557 cpu = cmd_list_next(cpu)) { in cpu_lookup_by_cpuid()
1661 cpu_uec_create(hdl, cpu, &cpu->cpu_uec, "cpu_uec_%d", cpu->cpu_cpuid); in cpu_create()
1714 core2cpus(cpu->cpu_cpuid, cpu->cpu_type, cpu->cpu_level, in cpu_all_threads_invalid()
1932 cpu = cmd_list_next(cpu)) { in cmd_restore_cpu_only()
2190 cpu = cmd_list_next(cpu)) { in cmd_cpu_validate()
2202 for (cpu = cmd_list_next(&cmd.cmd_cpus); cpu != NULL; cpu = cpun) { in cmd_cpu_validate()
2235 cpu = cmd_list_next(cpu)) { in cmd_xxu_flush_timeout()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dintel.esc66 ereport.cpu.intel.frc@chip/core/strand;
201 ereport.cpu.intel.unknown@chip;
227 event ereport.cpu.intel.nb.ddr2_mem_ue@
270 event ereport.cpu.intel.nb.ddr2_mem_ce@
312 ereport.cpu.intel.nb.fbd.alert@rank;
321 ereport.cpu.intel.nb.fbd.crc@rank;
363 event ereport.cpu.intel.nb.ddr2_spd@
388 prop fault.cpu.intel.nb.fsb@chip (1)->
389 ereport.cpu.intel.nb.fsb@chip;
401 prop fault.cpu.intel.nb.ie@motherboard
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c340 cmd_cpu_t *cpu; in cmd_Lxcache_restore() local
638 cmd_cpu_t *cpu; in cmd_Lxcache_close() local
647 for (cpu = cmd_list_next(&cmd.cmd_cpus); cpu != NULL; in cmd_Lxcache_close()
648 cpu = cmd_list_next(cpu)) { in cmd_Lxcache_close()
678 cmd_cpu_t *cpu; in cmd_Lxcache_lookup_by_timeout_id() local
681 for (cpu = cmd_list_next(&cmd.cmd_cpus); cpu != NULL; in cmd_Lxcache_lookup_by_timeout_id()
682 cpu = cmd_list_next(cpu)) { in cmd_Lxcache_lookup_by_timeout_id()
698 for (cpu = cmd_list_next(&cmd.cmd_cpus); cpu != NULL; in cmd_Lxcache_gc()
699 cpu = cmd_list_next(cpu)) in cmd_Lxcache_gc()
993 cpu, in cmd_Lxcache_get_next_retirable_way()
[all …]
H A Dcmd_Lxcacheerr.c380 cmd_cpu_t *cpu, in extract_data_from_ereport_payload() argument
398 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload()
427 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload()
615 cpu->cpu_asru_nvl, in cmd_create_and_destroy_Lxcache()
653 fltnm, cpu->cpu_cpuid); in cmd_Lxcache_retire_as_reason()
673 fltnm, cpu->cpu_cpuid, in cmd_Lxcache_retire_as_reason()
719 fltnm, cpu->cpu_cpuid, in retire_lowest_retirable_way_as_suspect()
1231 Lxcache = cmd_Lxcache_create(hdl, 0, cpu, cpu->cpu_asru_nvl, in cmd_us4plus_tag_err()
1255 fltnm, cpu->cpu_cpuid, in cmd_us4plus_tag_err()
1647 cpu_cc = &cpu->cpu_l2data; in cmd_cache_ce_panther()
[all …]
/illumos-gate/usr/src/cmd/intrd/
H A Dintrd.pl180 while (my ($cpu, $cpst) = each %{$ks->{cpu}}) {
184 my $state = $ks->{cpu_info}{$cpu}{"cpu_info$cpu"}{state};
216 my $cpu = $intrcfg->{cpu};
450 $delta{$cpu}{tot} = 1 if $delta{$cpu}{tot} == 0;
518 if ($delta{$cpu}{tot} < $delta{$cpu}{intrs}) {
521 $delta{$cpu}{tot} = $delta{$cpu}{intrs};
524 $delta{$cpu}{intrs} / $delta{$cpu}{tot};
603 $cpu->{intrload} = $cpu->{intrs} / $cpu->{tot};
607 $cpu->{tot} = 1 if $cpu->{tot} <= 0;
707 my $load = $cpu->{intrs} / $cpu->{tot};
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dcpuset.h26 #define CPU_SET(cpu, set) cpuset_add((set), (cpu)) argument
27 #define CPU_SETOF(cpu, set) cpuset_only((set), (cpu)) argument
29 #define CPU_CLR(cpu, set) cpuset_del((set), (cpu)) argument
32 #define CPU_ISSET(cpu, set) cpu_in_set((cpuset_t *)(set), (cpu)) argument
44 (cpu))
47 (cpu))
118 #define CPU_SET(cpu, setp) BT_SET((setp)->_bits, cpu) argument
119 #define CPU_CLR(cpu, setp) BT_CLEAR((setp)->_bits, cpu) argument
125 #define CPU_ISSET(cpu, setp) BT_TEST((setp)->_bits, cpu) argument
128 atomic_set_long(&(BT_WIM((setp)->_bits, cpu)), BT_BIW(cpu))
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h86 typedef struct cpu { struct
353 #define CPU_ACTIVE(cpu) (((cpu)->cpu_flags & CPU_OFFLINE) == 0) argument
454 #define CPUSET_ALL_BUT(set, cpu) cpuset_all_but(&(set), cpu) argument
455 #define CPUSET_ONLY(set, cpu) cpuset_only(&(set), cpu) argument
456 #define CPU_IN_SET(set, cpu) cpu_in_set(&(set), cpu) argument
457 #define CPUSET_ADD(set, cpu) cpuset_add(&(set), cpu) argument
458 #define CPUSET_DEL(set, cpu) cpuset_del(&(set), cpu) argument
488 #define CPUSET_ATOMIC_DEL(set, cpu) cpuset_atomic_del(&(set), cpu) argument
489 #define CPUSET_ATOMIC_ADD(set, cpu) cpuset_atomic_add(&(set), cpu) argument
510 extern struct cpu *cpu[]; /* indexed by CPU number */
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/cpc/
H A Dtst.allcpus.ksh43 cpu=0
61 /cpus[cpu] != 1/
63 cpus[cpu] = 1;
64 @a[cpu] = count();
77 while [ $cpu -le $numproc ]
82 allpids[$cpu]=$!
83 pbind -b $cpu $!
85 cpu=$(($cpu+1))
95 cpu=0
99 kill ${allpids[$cpu]}
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c135 cma_cpu_t *cpu; in cma_cpu_start_retry() local
175 cpu->cpuid = cpuid; in cma_cpu_start_retry()
177 cma.cma_cpus = cpu; in cma_cpu_start_retry()
245 cpu->cpuid, cpu->cpu_nretries); in cpu_retry()
282 cma_cpu_t *cpu = *cpup; in cma_cpu_retry() local
289 *cpup = cpu->cpu_next; in cma_cpu_retry()
291 cma_cpu_free(hdl, cpu); in cma_cpu_retry()
293 cpu->cpu_nretries++; in cma_cpu_retry()
294 cpup = &cpu->cpu_next; in cma_cpu_retry()
318 cma_cpu_t *cpu; in cma_cpu_fini() local
[all …]
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c41 cpu_t cpu; in resumable() local
61 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in resumable()
67 if (cpu.cpu_m.cpu_rq_lastre == 0) in resumable()
71 cpu.cpu_m.cpu_rq_lastre); in resumable()
84 cpu_t cpu; in nonresumable() local
104 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in nonresumable()
114 cpu.cpu_m.cpu_nrq_lastnre); in nonresumable()
127 cpu_t cpu; in rqueue() local
166 cpu_t cpu; in nrqueue() local
212 cpu_t cpu; in rq_walk_init() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcyclic.c54 bzero(cpu->cyp_trace, sizeof (cpu->cyp_trace)); in cyccpu_vread()
74 cyc_cpu_t cpu; in cyccpu_walk_step() local
142 if (ndx >= cpu->cyp_nelems) in cyclic_dump_node()
249 cyc_cpu_t cpu; in cycinfo() local
314 cpu.cyp_nelems); in cycinfo()
316 if (cpu.cyp_nelems > 0) in cycinfo()
327 cyclic_pretty_dump(&cpu); in cycinfo()
354 if (j >= cpu.cyp_nelems) { in cycinfo()
467 cyc_cpu_t *cpu; in cyctrace_walk_init() local
506 wsp->walk_data = cpu; in cyctrace_walk_init()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dgcpu.esc64 * Ex: serd.cpu.generic-sparc.chipitlb
79 * Ereport event for cpu errors
85 * Ereports for uncorrectable cpu errors
333 prop fault.cpu.generic-sparc.c2c-uc@chip
337 prop fault.cpu.generic-sparc.c2c-uc@chip
395 prop fault.cpu.generic-sparc.c2c@chip
402 prop fault.cpu.generic-sparc.c2c@chip
409 prop fault.cpu.generic-sparc.c2c@chip
414 prop fault.cpu.generic-sparc.c2c@chip
421 prop fault.cpu.generic-sparc.c2c@chip
[all …]
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c113 if (cpu == PBIND_NONE) in query_out()
118 proclwp, pidstr, cpu); in query_out()
129 switch (cpu) { in bind_err()
371 processorid_t cpu; in parse_cpu() local
378 return (cpu); in parse_cpu()
414 cpu = parse_cpu(optarg); in main()
419 cpu = parse_cpu(optarg); in main()
424 cpu = PBIND_QUERY; in main()
429 cpu = PBIND_QUERY; in main()
434 cpu = PBIND_NONE; in main()
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dturbo.c117 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()
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; in pt_turbo_stat_collect() local
215 for (cpu = 0; cpu < g_ncpus; cpu++) { in pt_turbo_stat_collect()
216 delta_mcnt = t_new[cpu].t_mcnt - cpu_turbo_info[cpu].t_mcnt; in pt_turbo_stat_collect()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/
H A Dsystem-board.info72 PROP SlotType string r 0 "cpu"
76 PROP SlotType string r 0 "cpu"
85 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
97 name:/frutree/chassis/MB/system-board/P0/cpu
105 name:/frutree/chassis/MB/system-board/P0/cpu
119 name:/frutree/chassis/MB/system-board/P1/cpu
125 name:/frutree/chassis/MB/system-board/P1/cpu
131 name:/frutree/chassis/MB/system-board/P1/cpu
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/
H A Dsystem-board.info137 PROP SlotType string r 0 "cpu"
142 PROP SlotType string r 0 "cpu"
147 PROP SlotType string r 0 "cpu"
152 PROP SlotType string r 0 "cpu"
165 name:/frutree/chassis/C0/system-board/P0/cpu
173 name:/frutree/chassis/C0/system-board/P0/cpu
191 name:/frutree/chassis/C1/system-board/P0/cpu
199 name:/frutree/chassis/C1/system-board/P0/cpu
217 name:/frutree/chassis/C2/system-board/P0/cpu
225 name:/frutree/chassis/C2/system-board/P0/cpu
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_lapic.c72 if (cpu < 0 || cpu >= vm_get_maxcpus(vm)) in lapic_set_intr()
82 vlapic = vm_lapic(vm, cpu); in lapic_set_intr()
84 vcpu_notify_event_type(vm, cpu, notify); in lapic_set_intr()
89 lapic_set_local_intr(struct vm *vm, int cpu, int vector) in lapic_set_local_intr() argument
95 if (cpu < -1 || cpu >= vm_get_maxcpus(vm)) in lapic_set_local_intr()
98 if (cpu == -1) in lapic_set_local_intr()
101 CPU_SETOF(cpu, &dmask); in lapic_set_local_intr()
103 while ((cpu = CPU_FFS(&dmask)) != 0) { in lapic_set_local_intr()
104 cpu--; in lapic_set_local_intr()
105 CPU_CLR(cpu, &dmask); in lapic_set_local_intr()
[all …]

12345678910>>...22