Lines Matching defs:mccontrol
561 struct mc_control *mccontrol;
575 if ((mccontrol = alloca((ndevgrps - 1) *
576 sizeof (mccontrol->devgrpids[0]) + sizeof (*mccontrol))) == NULL)
579 mccontrol->id = portid;
580 mccontrol->ndevgrps = ndevgrps;
582 if (ioctl(fd, MCIOC_CONTROL, mccontrol) == -1) {
593 if (mccontrol->ndevgrps == 0)
599 for (i = 0; i < mccontrol->ndevgrps; i++) {
600 int mmglocalid = mccontrol->devgrpids[i].localid;
602 mcdevgrp.id = mccontrol->devgrpids[i].globalid;