Lines Matching refs:psp

164     sbd_cmp_stat_t *psp)  in sbd_fill_cmp_stat()  argument
168 ASSERT(csp && psp && (ncores >= 1)); in sbd_fill_cmp_stat()
170 bzero((caddr_t)psp, sizeof (*psp)); in sbd_fill_cmp_stat()
176 psp->ps_type = SBD_COMP_CMP; in sbd_fill_cmp_stat()
177 psp->ps_unit = SBD_CMP_NUM(csp->cs_unit); in sbd_fill_cmp_stat()
178 (void) strncpy(psp->ps_name, csp->cs_name, sizeof (psp->ps_name)); in sbd_fill_cmp_stat()
179 psp->ps_cond = csp->cs_cond; in sbd_fill_cmp_stat()
180 psp->ps_busy = csp->cs_busy; in sbd_fill_cmp_stat()
181 psp->ps_time = csp->cs_time; in sbd_fill_cmp_stat()
182 psp->ps_ostate = csp->cs_ostate; in sbd_fill_cmp_stat()
183 psp->ps_suspend = csp->cs_suspend; in sbd_fill_cmp_stat()
186 *psp->ps_cpuid = csp->cs_cpuid; in sbd_fill_cmp_stat()
187 psp->ps_ncores = 1; in sbd_fill_cmp_stat()
188 psp->ps_speed = csp->cs_speed; in sbd_fill_cmp_stat()
189 psp->ps_ecache = csp->cs_ecache; in sbd_fill_cmp_stat()
202 ASSERT(psp->ps_unit == SBD_CMP_NUM(csp[core].cs_unit)); in sbd_fill_cmp_stat()
203 ASSERT(psp->ps_speed == csp[core].cs_speed); in sbd_fill_cmp_stat()
205 psp->ps_cpuid[core] = csp[core].cs_cpuid; in sbd_fill_cmp_stat()
206 psp->ps_ncores++; in sbd_fill_cmp_stat()
214 psp->ps_ecache += csp[core].cs_ecache; in sbd_fill_cmp_stat()
218 if (csp[core].cs_time > psp->ps_time) { in sbd_fill_cmp_stat()
219 psp->ps_time = csp[core].cs_time; in sbd_fill_cmp_stat()
222 psp->ps_busy |= csp[core].cs_busy; in sbd_fill_cmp_stat()
229 psp->ps_ostate = csp[core].cs_ostate; in sbd_fill_cmp_stat()
277 sbd_cmp_stat_t *psp; in sbd_cpu_flags() local
319 psp = (sbd_cmp_stat_t *)dsp; in sbd_cpu_flags()
320 sbd_fill_cmp_stat(cstat, ncores, cp->sbc_cpu_impl, psp); in sbd_cpu_flags()