Searched refs:mccontrol_in (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 442 struct mc_control *mccontrol, mccontrol_in; in mc_ioctl() local 714 if (copyin((void *)arg, &mccontrol_in, in mc_ioctl() 715 sizeof (mccontrol_in)) != 0) in mc_ioctl() 719 if ((mcport = mc_node_get(mccontrol_in.id, in mc_ioctl() 728 if ((mccontrol_in.ndevgrps < mcport->ndevgrps) || in mc_ioctl() 730 mccontrol_in.ndevgrps = mcport->ndevgrps; in mc_ioctl() 732 if (copyout(&mccontrol_in, (void *)arg, in mc_ioctl() 733 sizeof (mccontrol_in))) in mc_ioctl()
|
H A D | mc-us3.c | 502 struct mc_control *mccontrol, mccontrol_in; in mc_ioctl() local 791 if (copyin((void *)arg, &mccontrol_in, in mc_ioctl() 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() 807 mccontrol_in.ndevgrps = mcport->ndevgrps; in mc_ioctl() 808 if (copyout(&mccontrol_in, (void *)arg, in mc_ioctl()
|