HomeSort by relevance Sort by last modified time
    Searched defs:cpu (Results 1 - 25 of 132) sorted by null

1 2 3 4 5 6

  /onnv/onnv-gate/usr/src/cmd/mdb/common/kmdb/
kvm_cpu.c 30 * CPU-specific target implementation
32 * Each CPU provides a set of debugging facilities. We have per-CPU "modules",
35 * advantage of features specific to the CPU being used.
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)
78 if (cpu != NULL)
79 cpu->kmt_cpu_ops->kco_destroy(cpu)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/intel/mdb/
kvm_isadep.c 103 cpu_t cpu; local
105 if (mdb_vread(&cpu, sizeof (cpu_t), cpup) != sizeof (cpu_t))
108 return (cpu.cpu_id);
123 mdb_warn("failed to find cpuid for cpu at %p", addr);
139 mdb_warn("failed to get regs for cpu %d\n", cpuid);
169 mdb_warn("failed to find cpuid for cpu at %p", addr);
186 mdb_warn("failed to get regs for cpu %d\n", cpuid);
  /onnv/onnv-gate/usr/src/lib/libprtdiag/common/
cpu.c 108 * This routine is the generic link into displaying CPU and memory info.
109 * It displays the table header, then calls the CPU and memory display
118 * Display the table header for CPUs . Then display the CPU
128 " CPU CPU\n", 0);
129 log_printf("Brd CPU Module MHz MB "
150 Prom_node *cpu; local
156 for (cpu = dev_find_type(board->nodes, "cpu"); cpu != NULL
    [all...]
  /onnv/onnv-gate/usr/src/uts/i86pc/os/
mach_kdi.c 52 gate_desc_t *idt = CPU->cpu_m.mcpu_idt;
125 kdi_stop_slaves(int cpu, int doxc)
128 kdi_xc_others(cpu, kdi_slave_entry);
161 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); local
164 cpu->cpu_self = cpu;
167 wrmsr(MSR_AMD_GSBASE, (uint64_t)cpu);
182 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP) local
    [all...]
  /onnv/onnv-gate/usr/src/uts/intel/os/
arch_kdi.c 97 cpu_t *cpu; local
100 * CPU doesn't work until the GDT and gs/GSBASE have been set up.
105 if ((cpu = kdi_gdt2cpu(gdtr.dtr_base)) == NULL ||
106 !cpuid_checkpass(cpu, 1))
109 *vendorp = cpuid_getvendor(cpu);
110 *familyp = cpuid_getfamily(cpu);
111 *modelp = cpuid_getmodel(cpu);
123 * fake CPU set up by boot_kdi_tmpinit(). We're trying to restore the
131 CPU->cpu_m.mcpu_idt = idt;
  /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
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->cpu_next = cma.cma_cpus
283 cma_cpu_t *cpu = *cpup; local
319 cma_cpu_t *cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/disp/
cmt_policy.c 77 if (self && bitset_in_set(&here->cmt_cpus_actv_set, CPU->cpu_seqid))
114 * cp is a hint CPU, against which CMT load balancing will be performed.
116 * Returns cp, or a CPU better than cp with respect to balancing
122 int hint, i, cpu, nsiblings; local
175 * have some CPU resources in the thread's
212 * Select an idle CPU from the target
215 cpu = hint;
217 newcp = GROUP_ACCESS(&tpg->cmt_cpus_actv, cpu);
223 if (++cpu == tgt_size)
224 cpu = 0
    [all...]
  /onnv/onnv-gate/usr/src/uts/i86xpv/os/
mach_kdi.c 52 #include <sys/cpu.h>
77 gate_desc_t *idt = CPU->cpu_m.mcpu_idt;
106 * To avoid domains sucking up CPU while sitting in kmdb, we make all the slave
107 * CPUs wait for a wake-up evtchn. The master CPU, meanwhile, sleeps for
114 kdi_stop_slaves(int cpu, int doxc)
117 kdi_xc_others(cpu, kdi_slave_entry);
129 if (cpu[c] == NULL || !(cpu[c]->cpu_flags & CPU_READY))
145 if (!(cpu[CPU->cpu_id]->cpu_flags & CPU_READY)
168 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); local
223 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/powertop/common/
turbo.c 60 * Perform setup necessary to enumerate and track CPU turbo information
70 * check if the CPU turbo is supported
108 * Take a snapshot of each CPU's turbo information
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);
127 pt_error("couldn't find 'turbo' kstat for CPU %d\n"
198 int cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
kvm_cpu_p6.c 105 kmt_p6_destroy(kmt_cpu_t *cpu)
109 mdb_free(cpu, sizeof (kmt_cpu_t));
114 kmt_p6_name(kmt_cpu_t *cpu)
135 kmt_p6_step_branch(kmt_cpu_t *cpu, mdb_tgt_t *t)
137 kmt_cpu_p6_t *p6 = cpu->kmt_cpu_data;
172 kmt_cpu_t *cpu; local
183 cpu = mdb_zalloc(sizeof (kmt_cpu_t), UM_SLEEP);
184 cpu->kmt_cpu_ops = &kmt_p6_ops;
185 cpu->kmt_cpu_data = &kmt_cpu_p6;
193 return (cpu);
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/intel/kmdb/
kvm_cpu_amd.c 95 kmt_amd_destroy(kmt_cpu_t *cpu)
99 mdb_free(cpu, sizeof (kmt_cpu_t));
104 kmt_amd_name(kmt_cpu_t *cpu)
125 kmt_amd_step_branch(kmt_cpu_t *cpu, mdb_tgt_t *t)
127 kmt_cpu_amd_t *amd = cpu->kmt_cpu_data;
155 warn("branch tracing unavailable on unknown AMD CPU "
184 kmt_cpu_t *cpu; local
199 cpu = mdb_zalloc(sizeof (kmt_cpu_t), UM_SLEEP);
200 cpu->kmt_cpu_ops = &kmt_amd_ops;
201 cpu->kmt_cpu_data = &kmt_cpu_amd
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/sun4v/modules/errh/
errh.c 43 cpu_t cpu; local
63 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) {
64 mdb_warn("failed to read cpu at %p", current);
69 if (cpu.cpu_m.cpu_rq_lastre == 0)
70 mdb_printf("%-5d empty\n", cpu.cpu_id);
72 mdb_printf("%-5d %lx\n", cpu.cpu_id,
73 cpu.cpu_m.cpu_rq_lastre);
74 } else if (cpu.cpu_m.cpu_rq_lastre != 0)
75 mdb_printf("%lx\n", cpu.cpu_m.cpu_rq_lastre)
86 cpu_t cpu; local
129 cpu_t cpu; local
168 cpu_t cpu; local
215 cpu_t cpu; local
252 cpu_t cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/prstat/
prsort.c 70 float cpu = 0; local
71 cpu += p->li_usr;
72 cpu += p->li_sys;
73 cpu *= 1000;
74 return ((ulong_t)cpu);
119 if (strcmp("cpu", arg) == 0) {
  /onnv/onnv-gate/usr/src/uts/sun4u/os/
cmp.c 95 cpu_t *cpu; local
112 (cpu = cpu_get(i)) != NULL && cpu_is_active(cpu)) {
133 /* This CPU is not a CMP, so by definition chipid==cpuid */
193 pg_plat_hw_instance_id(cpu_t *cpu, pghw_type_t hw)
197 impl = cpunodes[cpu->cpu_id].implementation;
208 return ((id_t)((uint_t)cpu->cpu_id & ~(0x1)));
210 return (cpu->cpu_id);
213 return (cmp_cpu_to_chip(cpu->cpu_id));
217 return (pg_plat_hw_instance_id(cpu, PGHW_CHIP))
    [all...]
  /onnv/onnv-gate/usr/src/uts/sun4v/os/
mach_mp_startup.c 44 * Init CPU info - get CPU type info for processor_info system call.
47 init_cpu_info(struct cpu *cp)
56 * Get clock-frequency property from cpunodes[] for the CPU.
85 * On first cpu setup, tell hv we are booting
96 * Routine used to cleanup a CPU that has been powered off. This will
97 * destroy all per-cpu information related to this cpu.
134 if (strcmp(type, "cpu") != 0)
141 cmn_err(CE_PANIC, "reg prop not found in cpu node")
171 cpu_t *cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
cpupart.c 44 cpu_t *cpu = (cpu_t *)arg; local
48 BT_SET(cpuset, cpu->cpu_id);
149 "#CPU",
237 cpu_t cpu; local
240 if (mdb_vread(&cpu, sizeof (cpu_t), addr) == -1) {
245 status = wsp->walk_callback(addr, &cpu, wsp->walk_cbdata);
250 addr = (uintptr_t)cpu.cpu_next_part;
256 mdb_warn("cpu count doesn't match cpupart list");
262 mdb_warn("cpu count doesn't match cpupart list");
  /onnv/onnv-gate/usr/src/cmd/mdb/sparc/kmdb/kctl/
kctl_isadep.c 281 cpu_t *cpu = kobj_zalloc(sizeof (cpu_t), KM_TMP); local
282 kt0->t_cpu = cpu;
  /onnv/onnv-gate/usr/src/cmd/psradm/
psradm.c 112 psr_set_state(processorid_t cpu, int action, psr_action_t *pac, int mustexist)
119 old_state = p_online(cpu, P_STATUS);
125 cmdname, cpu);
133 "add -F option to force change\n", cmdname, cpu);
137 old_state = p_online(cpu, force ? action | P_FORCED : action);
143 cmdname, cpu);
150 (void) printf("processor %d already %s.\n", cpu,
156 cpu, pac->p_action, pac->p_state);
180 cpu, pac->p_wtmp);
192 processorid_t cpu; local
216 processorid_t cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/stat/common/
walkers.c 48 struct cpu_snapshot *cpu = NULL; local
51 cpu = &old->s_cpus[i];
52 cb(cpu, newcpu, data);
53 if (cpu == NULL)
59 if ((CPU_ACTIVE(cpu) && !CPU_ACTIVE(newcpu)) ||
60 (!CPU_ACTIVE(cpu) && CPU_ACTIVE(newcpu)))
63 cpu->cs_pset_id != newcpu->cs_pset_id)
  /onnv/onnv-gate/usr/src/tools/ctf/cvt/
fixup_tdescs.c 187 * The cpu structure grows, with the addition of a machcpu member, if
188 * _MACHDEP is defined. This means that, for example, the cpu structure
189 * in unix is different from the cpu structure in genunix. As one might
191 * a pointer to a CPU structure, the failed merges can cause massive amounts
200 tdesc_t *cput, *cpu; local
207 * We're going to take the circuitous route finding the cpu structure,
215 cpu = cput->t_tdesc;
217 cpu = lookup_tdesc(td, "cpu");
220 if (cpu == NULL
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/os/
clock_highres.c 108 cpu_t *cpu; local
193 * bound CPU and processor set (if any).
196 cpu = t->t_bound_cpu;
202 cyclic_bind(cyc, cpu, pset == PS_NONE ? NULL : cpupart);
307 cpu_t *cpu; local
320 cpu = t->t_bound_cpu;
326 * that even if the bindings change, the CPU and/or processor set
332 cyclic_bind(cyc, cpu, pset == PS_NONE ? NULL : cpupart);
  /onnv/onnv-gate/usr/src/uts/sparc/os/
archdep.c 91 if ((on_intr = CPU_ON_INTR(CPU)) != 0)
92 stacktop = (struct frame *)(CPU->cpu_intr_stack + SA(MINFRAME));
155 * The value of at_flags reflects a platform's cpu module support.
213 uint_t cpu_hwcap_flags = 0; /* set by cpu-dependent code */
269 cpu_t *cpu; local
278 * CPU was overwritten. panic_cpu has the correct values.
282 cpu = (panicstr && CPU->cpu_id == panic_cpu.cpu_id)? &panic_cpu : CPU;
284 if ((on_intr = CPU_ON_INTR(cpu)) != 0
    [all...]
  /onnv/onnv-gate/usr/src/uts/sun4u/io/
sbd_cpu.c 30 * CPU support routines for DR
81 /* read in the CPU speed */
89 * for all CPU implementations.
103 cmn_err(CE_WARN, "cpu implementation type "
144 * If we have marked the cpu's condition previously
267 * Treat every CPU as a CMP. In the case where the
290 * Check to make sure the cpu is in a state
343 struct cpu *cpup;
377 "sbd:%s: failed to get unit (cpu %d)",
387 cp->sbc_cpu_flags = cpu[cpuid]->cpu_flags
651 struct cpu *cpu; local
963 struct cpu *cpu; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/filebench/common/
stats.c 88 "kstats can't find any cpu statistics");
109 /* get per cpu kstats, if necessary */
112 /* Initialize the array of cpu kstat pointers */
129 * to obtain cpu statistics. Collects statistics for each cpu, initializes
141 * Per-CPU statistics
156 cputime_states[j] += cpu_stats.cpu_sysinfo.cpu[j];
171 * The entry for cpu is
172 * cpu 1636 67 1392 208671 5407 20 12
181 char cpu[128]; /* placeholder to read "cpu" * local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/i86xpv/modules/xpv_psm/
xpv_psm.c 173 * We need a non-trivial IPL lookup as the CPU poke's IRQ doesn't have ii_ipl
197 int cpu; local
220 cpu = mdb_cpuset_find(evtchn_cpus_addr +
224 * XXPV: we should verify this against the CPU's mask and show
227 mdb_printf("%-4d", cpu);
349 /* CPU */
378 mdb_printf("%<u>CPU ");
381 "CPU Share APIC/INT# ");
432 /* CPU */
471 mdb_printf("%<u>Type Evtchn IRQ IPL CPU ");
    [all...]

Completed in 420 milliseconds

1 2 3 4 5 6