Lines Matching defs:mctrl
507 mc_dlist_t *mctrl;
761 mctrl = mctrl_head;
763 while (mctrl != NULL) {
764 mcctrlconf->mcids[i].globalid = mctrl->id;
765 mcctrlconf->mcids[i].localid = mctrl->id;
767 mctrl = mctrl->next;
1485 struct mctrl_info *mctrl;
1492 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id,
1494 cmn_err(CE_WARN, "mc_construct: mctrl %d exists\n", mc_id);
1499 mctrl = kmem_zalloc(sizeof (struct mctrl_info), KM_SLEEP);
1506 mctrl->mctrl_node.id = mc_id;
1507 mctrl->ndevgrps = 0;
1508 mc_node_add((mc_dlist_t *)mctrl, &mctrl_head, &mctrl_tail);
1516 mctrl->devgrpids[i] = idx;
1554 mctrl->mctrl_node.id = mc_id;
1555 mctrl->ndevgrps = NDGRPS;
1556 mc_node_add((mc_dlist_t *)mctrl, &mctrl_head, &mctrl_tail);
1782 struct mctrl_info *mctrl;
1790 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id, mctrl_head)) !=
1792 ndevgrps = mctrl->ndevgrps;
1793 mc_node_del((mc_dlist_t *)mctrl, &mctrl_head, &mctrl_tail);
1794 kmem_free(mctrl, sizeof (struct mctrl_info));
1805 cmn_err(CE_WARN, "MC mlayout_del: mctrl is not found\n");