Lines Matching defs:cpu

43 	cpu_t cpu;
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);
76 } while ((current = (uintptr_t)cpu.cpu_next) != first);
86 cpu_t cpu;
106 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) {
107 mdb_warn("failed to read cpu at %p", current);
112 if (cpu.cpu_m.cpu_nrq_lastnre == 0)
113 mdb_printf("%-5d empty\n", cpu.cpu_id);
115 mdb_printf("%-5d %lx\n", cpu.cpu_id,
116 cpu.cpu_m.cpu_nrq_lastnre);
117 } else if (cpu.cpu_m.cpu_nrq_lastnre != 0)
118 mdb_printf("%lx\n", cpu.cpu_m.cpu_nrq_lastnre);
119 } while ((current = (uintptr_t)cpu.cpu_next) != first);
129 cpu_t cpu;
139 if (mdb_vread(&cpu, sizeof (cpu_t), addr) == -1) {
140 mdb_warn("failed to find cpu at %p", addr);
144 ao = (uintptr_t)cpu.cpu_m.cpu_rq_lastre; /* beginning and end */
145 lower = (uintptr_t)cpu.cpu_m.cpu_rq_va + CPU_RQ_SIZE;
168 cpu_t cpu;
179 if (mdb_vread(&cpu, sizeof (cpu_t), addr) == -1) {
180 mdb_warn("failed to find cpu at %p", addr);
184 ao = (uintptr_t)cpu.cpu_m.cpu_nrq_lastnre; /* beginning and end */
185 lower = (uintptr_t)cpu.cpu_m.cpu_nrq_va + CPU_NRQ_SIZE;
215 cpu_t cpu;
223 if (mdb_vread(&cpu, sizeof (cpu_t), wsp->walk_addr) == -1) {
224 mdb_warn("failed to find cpu at %p", wsp->walk_addr);
229 wsp->walk_addr = (uintptr_t)cpu.cpu_m.cpu_rq_lastre;
237 *lower = (uintptr_t)cpu.cpu_m.cpu_rq_va + CPU_RQ_SIZE;
252 cpu_t cpu;
260 if (mdb_vread(&cpu, sizeof (cpu_t), wsp->walk_addr) == -1) {
261 mdb_warn("failed to find cpu at %p", wsp->walk_addr);
266 wsp->walk_addr = (uintptr_t)cpu.cpu_m.cpu_nrq_lastnre;
274 *lower = (uintptr_t)cpu.cpu_m.cpu_nrq_va + CPU_NRQ_SIZE;
336 { "errhrq", "walk a cpu-specific sun4v resumble error queue",
338 { "errhnrq", "walk a cpu-specific sun4v nonresumble error queue",