Lines Matching defs:mccontrol
442 struct mc_control *mccontrol, mccontrol_in;
741 size = sizeof (*mccontrol) + (mcport->ndevgrps - 1) *
742 sizeof (mccontrol->devgrpids[0]);
743 mccontrol = kmem_zalloc(size, KM_SLEEP);
745 mccontrol->id = mcport->mctrl_node.id;
746 mccontrol->ndevgrps = mcport->ndevgrps;
748 mccontrol->devgrpids[i].globalid = mcport->devgrpids[i];
749 mccontrol->devgrpids[i].localid =
756 if (copyout(mccontrol, (void *)arg, size))
759 kmem_free(mccontrol, size);