Searched refs:mcdevgrp (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c496 add_mem_modules(picl_nodehdl_t mmodgrph, struct mc_devgrp *mcdevgrp) argument
504 size = mcdevgrp->size / mcdevgrp->ndevices;
509 for (i = 0; i < mcdevgrp->ndevices; i++) {
562 struct mc_devgrp mcdevgrp; local
602 mcdevgrp.id = mccontrol->devgrpids[i].globalid;
604 if (ioctl(fd, MCIOC_DEVGRP, &mcdevgrp) == -1)
611 if (mcdevgrp.size == 0)
633 mmghdl->mmgid = mcdevgrp.id;
644 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (mcdevgrp
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3i.c440 struct mc_devgrp mcdevgrp; local
625 if (copyin((void *)arg, &mcdevgrp, sizeof (mcdevgrp)) != 0)
629 if ((dgrp = mc_node_get(mcdevgrp.id, dgrp_head)) == NULL) {
631 "%d\n", mcdevgrp.id));
636 mcdevgrp.ndevices = dgrp->ndevices;
637 mcdevgrp.size = dgrp->size;
641 if (copyout(&mcdevgrp, (void *)arg, sizeof (mcdevgrp)))
H A Dmc-us3.c500 struct mc_devgrp mcdevgrp; local
700 if (copyin((void *)arg, &mcdevgrp,
705 if ((dgrp = (struct dgrp_info *)mc_node_get(mcdevgrp.id,
708 "%d\n", mcdevgrp.id));
713 mcdevgrp.ndevices = dgrp->ndevices;
714 mcdevgrp.size = dgrp->size;
718 if (copyout(&mcdevgrp, (void *)arg, sizeof (struct mc_devgrp)))

Completed in 51 milliseconds