MAX_CORES_PER_CMP
} else if (!ISP2(MAX_CORES_PER_CMP)) {
MAX_CORES_PER_CMP);
for (core = 1; core < MAX_CORES_PER_CMP; core++) {
if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) {
if ((up->sbc_cm.sbdev_unum % MAX_CORES_PER_CMP) == 0) {
cstat = kmem_zalloc(sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP,
for (core = 0; core < MAX_CORES_PER_CMP; core++) {
kmem_free(cstat, sizeof (sbd_cpu_stat_t) * MAX_CORES_PER_CMP);
(DEVSET_BIX(t) + (u) * MAX_CORES_PER_CMP) : DEVSET_BIX(t) + (u))
#define DEVSET_CMP_NMASK ((dr_devset_t)((1ULL << MAX_CORES_PER_CMP) - 1))
#define DR_CMP_CORE_UNUM(cmp, core) ((cmp) * MAX_CORES_PER_CMP + (core))
((d) == SBD_COMP_CPU ? ((n) / MAX_CORES_PER_CMP) : \
(d) == SBD_COMP_CMP ? ((n) / MAX_CORES_PER_CMP) : (n))
#define MAX_CPU_UNITS_PER_BOARD (MAX_CMP_UNITS_PER_BOARD * MAX_CORES_PER_CMP)
#define CPU_IMPL_IS_CMP(impl) (MAX_CORES_PER_CMP > 1)
nunits = MAX_CORES_PER_CMP;
sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP];
for (core = 0; core < MAX_CORES_PER_CMP; core++) {
for (core = 1; core < MAX_CORES_PER_CMP; core++) {
sbd_cpu_stat_t cstat[MAX_CORES_PER_CMP];
for (core = 0; core < MAX_CORES_PER_CMP; core++) {