Searched refs:mcctrlconf (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 441 struct mc_ctrlconf *mcctrlconf, mcctrlconf_in; local 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, siz [all...] |
H A D | mc-us3.c | 501 struct mc_ctrlconf *mcctrlconf, mcctrlconf_in; local 755 sizeof (mcctrlconf->mcids[0])); 756 mcctrlconf = kmem_zalloc(size, KM_SLEEP); 758 mcctrlconf->nmcs = nmcs; 760 /* Get all MC ids and add to mcctrlconf */ 764 mcctrlconf->mcids[i].globalid = mctrl->id; 765 mcctrlconf->mcids[i].localid = mctrl->id; 773 if (copyout(mcctrlconf, (void *)arg, size)) 776 kmem_free(mcctrlconf, size);
|
Completed in 60 milliseconds