Searched refs:mcport (Results 1 – 2 of 2) sorted by relevance
446 struct mctrl_info *mcport; in mc_ioctl() local719 if ((mcport = mc_node_get(mccontrol_in.id, in mc_ioctl()728 if ((mccontrol_in.ndevgrps < mcport->ndevgrps) || in mc_ioctl()729 (mcport->ndevgrps == 0)) { in mc_ioctl()730 mccontrol_in.ndevgrps = mcport->ndevgrps; in mc_ioctl()735 else if (mcport->ndevgrps != 0) in mc_ioctl()741 size = sizeof (*mccontrol) + (mcport->ndevgrps - 1) * in mc_ioctl()745 mccontrol->id = mcport->mctrl_node.id; in mc_ioctl()746 mccontrol->ndevgrps = mcport->ndevgrps; in mc_ioctl()747 for (i = 0; i < mcport->ndevgrps; i++) { in mc_ioctl()[all …]
506 struct mctrl_info *mcport; in mc_ioctl() local796 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()[all …]