sbd_cpu_stat_t
sbd_cpu_stat_t *dst;
dst = (sbd_cpu_stat_t *)a->cmstat;
sbd_cpu_stat_t *cpu = (sbd_cpu_stat_t *)dst;
dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp)
dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp)
sbd_cpu_stat_t *cstat;
cstat = kmem_zalloc(sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP,
bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t));
kmem_free(cstat, sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP);
sbd_cpu_stat_t d_cpu;
sbd_fill_cpu_stat(sbd_cpu_unit_t *cp, dev_info_t *dip, sbd_cpu_stat_t *csp)
sbd_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl,
sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP];
bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t));
dr_fill_cpu_stat(dr_cpu_unit_t *cp, drmach_status_t *pstat, sbd_cpu_stat_t *csp)
dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp)
sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP];
bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t));
sbd_cpu_stat_t d_cpu;