cmc_state
struct cmc_state *cc;
cc = &cmc_state[PCPU_GET(cpuid)][bank];
if (cmc_state != NULL)
cmc_state = malloc((mp_maxid + 1) * sizeof(struct cmc_state *), M_MCA,
cmc_state[i] = malloc(sizeof(struct cmc_state) * mca_banks,
struct cmc_state *cc;
if (cmc_state == NULL) {
cc = &cmc_state[PCPU_GET(cpuid)][i];
struct cmc_state *cc;
if (cmc_state == NULL)
cc = &cmc_state[PCPU_GET(cpuid)][i];
static struct cmc_state **cmc_state; /* Indexed by cpuid, bank. */