Searched refs:cpu_id (Results 1 - 25 of 275) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dqlen.d29 this->len = qlen[args[2]->cpu_id]++;
30 @[args[2]->cpu_id] = lquantize(this->len, 0, 100);
34 /qlen[args[2]->cpu_id]/
36 qlen[args[2]->cpu_id]--;
H A Dqtime.d28 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] =
33 /ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]/
35 @[args[2]->cpu_id] = quantize(timestamp -
36 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]);
37 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] = 0;
H A Dwhosteal.d30 /args[2]->cpu_id != -1 && cpu != args[2]->cpu_id &&
33 @[stringof(args[1]->pr_fname), args[2]->cpu_id] =
H A Dwhoqueue.d36 this->len = ++qlen[this->cpu = args[2]->cpu_id];
70 this->in <= longtime[this->cpu = args[2]->cpu_id]/
79 /qlen[args[2]->cpu_id]/
82 this->len = --qlen[args[2]->cpu_id];
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/buffering/
H A Dtst.ring3.d50 * by the exit() anyway.) Thirdly: we rely on t_cpu/cpu_id. Finally:
67 cpuid = curthread->t_cpu->cpu_id;
71 /curthread->t_cpu->cpu_id == cpuid && n < 100/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sched/
H A Dtst.enqueue.d39 /self->one && args[2]->cpu_id >= 0 && args[2]->cpu_id <= `max_cpuid/
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c158 restore_tlb(struct sun4u_tlb *utp, int cpu_id) argument
179 prom_printf(" cpu_id %d: write %ctlb "
181 cpu_id, tname, utp->index, utp->va_tag,
206 cb_park_err(int cpu_id) argument
208 prom_printf("\ncpu_id %d did not stop!...\n", cpu_id);
233 slave_init(int cpu_id) argument
235 restore_tlb(mdinfo.dtte, cpu_id);
236 restore_tlb(mdinfo.itte, cpu_id);
237 CPUSET_ADD(slave_set, cpu_id);
245 cb_park_err(cpu_id);
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsoftint.c233 if (CPU_IN_SET(*softcall_cpuset, cp->cpu_id) ||
245 if (vcpu_on_pcpu(cp->cpu_id) == VCPU_NOT_ON_PCPU)
251 cpuid = cp->cpu_id;
256 cpuid = cp->cpu_id;
274 CPUSET_ADD(poke, cp->cpu_id);
423 int cpu_id = CPU->cpu_id; local
432 CPU_IN_SET(*softcall_cpuset, cpu_id)) {
433 CPUSET_DEL(*softcall_cpuset, cpu_id);
449 CPU_IN_SET(*softcall_cpuset, cpu_id))
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dcpudrv_mach.c41 xc_one(cpudsp->cpu_id, (xcfunc_t *)cpu_change_speed, \
47 * Determine the cpu_id for the CPU device.
50 cpudrv_get_cpu_id(dev_info_t *dip, processorid_t *cpu_id) argument
52 return (dip_to_cpu_id(dip, cpu_id) == DDI_SUCCESS);
/illumos-gate/usr/src/uts/sun4/sys/
H A Divintr.h105 #define IV_GET_PIL_NEXT(iv_p, cpu_id) \
106 (((iv_p->iv_flags & IV_SOFTINT_MT) && (cpu_id != 0)) ? \
107 ((intr_vecx_t *)iv_p)->iv_pil_xnext[cpu_id - 1] : iv_p->iv_pil_next)
108 #define IV_SET_PIL_NEXT(iv_p, cpu_id, next) \
109 (((iv_p->iv_flags & IV_SOFTINT_MT) && (cpu_id != 0)) ? \
110 (((intr_vecx_t *)iv_p)->iv_pil_xnext[cpu_id - 1] = next) : \
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Darm_init.S53 ENTRY(cpu_id) function
56 END(cpu_id)
/illumos-gate/usr/src/uts/sun4u/starfire/os/
H A Dbbus_intr.c142 processorid_t cpu_id = CPU->cpu_id; local
147 ASSERT(cpu_sgnblkp[cpu_id] != NULL);
152 retflag = cpu_sgnblkp[cpu_id]->sigb_host_mbox.flag;
188 cmd = cpu_sgnblkp[cpu_id]->sigb_host_mbox.cmd;
195 cpu_sgnblkp[cpu_id]->sigb_host_mbox.flag = SIGB_MBOX_BUSY;
208 cpu_sgnblkp[cpu_id]->sigb_host_mbox.flag = SIGB_MBOX_EMPTY;
279 cpu_sgnblkp[cpu_id]->sigb_host_mbox.cmd = resp;
281 (caddr_t)&cpu_sgnblkp[cpu_id]->sigb_host_mbox.data[0],
283 cpu_sgnblkp[cpu_id]
362 sgnblk_poll_register(void(*func)(processorid_t cpu_id, cpu_sgnblk_t *cpu_sgnblkp)) argument
393 sgnblk_poll_unregister(void(*func)(processorid_t cpu_id, cpu_sgnblk_t *cpu_sgnblkp)) argument
558 processorid_t cpu_id = SIGBCPU->cpu_id; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c51 static int cpu_id = -1; local
95 cpu_id = *int_cpu_id;
102 ++cpu_id;
118 cpu_id = *int_cpu_id;
125 ++cpu_id;
132 HAL_DEBUG (("CPUID=> %x", cpu_id));
140 * cpu_id.
149 * To make it unique, will be concatenating devfs_path with cpu_id
153 devfs_path, cpu_id);
158 HAL_DEBUG(("DevfsPath=> %s, CPUID=> %d", cpu_devfs_path, cpu_id));
161 "/org/freedesktop/Hal/devices%s_%d", cpu_devfs_path, cpu_id); local
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dsg_unum.c91 if (IS_PANTHER(cpunodes[CPU->cpu_id].implementation) ||
92 IS_JAGUAR(cpunodes[CPU->cpu_id].implementation))
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmem_cache_ioctl.h46 int cpu_id; member in struct:cache_info32
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpr_impl.h56 processorid_t cpu_id; member in struct:i86pc_cpu_info
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dsched.d32 processorid_t cpu_id; /* CPU identifier */
42 cpu_id = C->cpu_id;
50 cpu_id = D->disp_cpu == NULL ? -1 :
51 xlate <cpuinfo_t> (D->disp_cpu).cpu_id;
67 inline processorid_t cpu = curcpu->cpu_id;
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c95 uint32_t cpu_id; local
102 cpu_id = intr_dist_cpuid();
105 cpu_id = pc_translate_tgtid(cb_p->cb_ittrans_cookie, cpu_id,
109 reg = ib_get_map_reg(mondo, cpu_id);
119 "pci-%x cb_enable_nintr: ino=%x cpu_id=%x\n",
120 pci_p->pci_id, ino, cpu_id);
196 uint32_t cpu_id; local
208 cpu_id = intr_dist_cpuid();
210 cpu_id
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_cb.c101 uint32_t cpu_id; local
110 cpu_id = intr_dist_cpuid();
112 cpu_id = u2u_translate_tgtid(pib_p->pib_pcmu_p, cpu_id, imr_p);
114 reg = ib_get_map_reg(mondo, cpu_id);
124 "pci-%x pcmu_cb_enable_nintr: ino=%x cpu_id=%x\n",
125 pcmu_p->pcmu_id, ino, cpu_id);
220 uint32_t cpu_id; local
234 cpu_id = intr_dist_cpuid();
237 cpu_id
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dcmp.c148 impl = cpunodes[cp->cpu_id].implementation;
173 impl = cpunodes[cpu_a->cpu_id].implementation;
197 impl = cpunodes[cpu->cpu_id].implementation;
205 * multi-stranded cores. Return the cpu_id with the
208 return ((id_t)((uint_t)cpu->cpu_id & ~(0x1)));
210 return (cpu->cpu_id);
213 return (cmp_cpu_to_chip(cpu->cpu_id));
219 return (cpu->cpu_id);
H A Dmach_mp_startup.c44 int cpuid = cp->cpu_id;
71 if (cpuid == cpu0.cpu_id) {
184 cpunode = &cpunodes[cp->cpu_id];
196 cmn_err(CE_CONT, "?cpu%d: %s\n", cp->cpu_id, cp->cpu_idstr);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dintrq.c44 "failed, error %lu", cpu->cpu_id, ret);
49 "failed, error %lu", cpu->cpu_id, ret);
54 "failed, error %lu", cpu->cpu_id, ret);
59 "configuration failed, error %lu", cpu->cpu_id, ret);
82 cpu->cpu_id);
110 cpu->cpu_id);
124 cpu->cpu_id);
139 cpu->cpu_id);
154 cpu->cpu_id);
171 cpu->cpu_id);
[all...]
H A Dmach_mp_states.c121 cpu_stop_time_limit = cpunodes[CPU->cpu_id].clock_freq;
171 processorid_t cpuid = cpup->cpu_id;
221 processorid_t cpuid = cp->cpu_id;
277 restart_other_cpu(cp->cpu_id);
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_states.c73 kern_idle[CPU->cpu_id] = 1;
74 while (kern_idle[CPU->cpu_id])
95 cpuid = CPU->cpu_id;
137 int cpuid = CPU->cpu_id;
217 int cpuid = cp->cpu_id;
221 ASSERT(CPU->cpu_id != cpuid);
270 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cp->cpu_id);
272 cmp_error_resteer(cp->cpu_id);
286 cmp_error_resteer(cp->cpu_id);
292 CPU_SIGNATURE(OS_SIG, SIGST_OFFLINE, SIGSUBST_NULL, cp->cpu_id);
[all...]
H A Dintr.c222 if (siron_cpu_inum && siron_cpu_inum[CPU->cpu_id] != 0)
223 inum = siron_cpu_inum[CPU->cpu_id];
260 (void) siron_cpu_setup(CPU_CONFIG, c->cpu_id, NULL);
285 int cpuid = CPU->cpu_id;
311 siron_cpu_inum[cp->cpu_id] = add_softintr(PIL_1,
315 (void) rem_softintr(siron_cpu_inum[cp->cpu_id]);
316 siron_cpu_inum[cp->cpu_id] = 0;
351 processorid_t cpu_id; local
357 cpu_id = CPU->cpu_id;
[all...]

Completed in 98 milliseconds

1234567891011