Lines Matching refs:mcport
506 struct mctrl_info *mcport; in mc_ioctl() local
796 if ((mcport = (struct mctrl_info *)mc_node_get(mccontrol_in.id, in mc_ioctl()
805 if ((mccontrol_in.ndevgrps < mcport->ndevgrps) || in mc_ioctl()
806 (mcport->ndevgrps == 0)) { in mc_ioctl()
807 mccontrol_in.ndevgrps = mcport->ndevgrps; in mc_ioctl()
811 else if (mcport->ndevgrps != 0) in mc_ioctl()
818 size = sizeof (struct mc_control) + (mcport->ndevgrps - 1) * in mc_ioctl()
822 mccontrol->id = mcport->mctrl_node.id; in mc_ioctl()
823 mccontrol->ndevgrps = mcport->ndevgrps; in mc_ioctl()
824 for (i = 0; i < mcport->ndevgrps; i++) { in mc_ioctl()
825 mccontrol->devgrpids[i].globalid = mcport->devgrpids[i]; in mc_ioctl()
827 mcport->devgrpids[i] % NDGRPS; in mc_ioctl()