Lines Matching refs:mcctrlconf
441 struct mc_ctrlconf *mcctrlconf, mcctrlconf_in;
677 size = sizeof (*mcctrlconf) + ((nmcs - 1) *
678 sizeof (mcctrlconf->mcids[0]));
679 mcctrlconf = kmem_zalloc(size, KM_SLEEP);
681 mcctrlconf->nmcs = nmcs;
683 /* Get all MC ids and add to mcctrlconf */
687 mcctrlconf->mcids[i].globalid = mctrl->id;
688 mcctrlconf->mcids[i].localid = mctrl->id;
696 if (copyout(mcctrlconf, (void *)arg, size))
699 kmem_free(mcctrlconf, size);