Searched refs:mcdevgrp (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/picl/plugins/common/memcfg/ |
H A D | piclmemcfg_comm.c | 496 add_mem_modules(picl_nodehdl_t mmodgrph, struct mc_devgrp *mcdevgrp) in add_mem_modules() argument 504 size = mcdevgrp->size / mcdevgrp->ndevices; in add_mem_modules() 509 for (i = 0; i < mcdevgrp->ndevices; i++) { in add_mem_modules() 562 struct mc_devgrp mcdevgrp; in create_physical_tree() local 602 mcdevgrp.id = mccontrol->devgrpids[i].globalid; in create_physical_tree() 604 if (ioctl(fd, MCIOC_DEVGRP, &mcdevgrp) == -1) in create_physical_tree() 611 if (mcdevgrp.size == 0) in create_physical_tree() 633 mmghdl->mmgid = mcdevgrp.id; in create_physical_tree() 644 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (mcdevgrp.size), in create_physical_tree() 650 &mcdevgrp.size, NULL); in create_physical_tree() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | mc-us3i.c | 440 struct mc_devgrp mcdevgrp; in mc_ioctl() local 625 if (copyin((void *)arg, &mcdevgrp, sizeof (mcdevgrp)) != 0) in mc_ioctl() 629 if ((dgrp = mc_node_get(mcdevgrp.id, dgrp_head)) == NULL) { in mc_ioctl() 631 "%d\n", mcdevgrp.id)); in mc_ioctl() 636 mcdevgrp.ndevices = dgrp->ndevices; in mc_ioctl() 637 mcdevgrp.size = dgrp->size; in mc_ioctl() 641 if (copyout(&mcdevgrp, (void *)arg, sizeof (mcdevgrp))) in mc_ioctl()
|
H A D | mc-us3.c | 500 struct mc_devgrp mcdevgrp; in mc_ioctl() local 700 if (copyin((void *)arg, &mcdevgrp, in mc_ioctl() 705 if ((dgrp = (struct dgrp_info *)mc_node_get(mcdevgrp.id, in mc_ioctl() 708 "%d\n", mcdevgrp.id)); in mc_ioctl() 713 mcdevgrp.ndevices = dgrp->ndevices; in mc_ioctl() 714 mcdevgrp.size = dgrp->size; in mc_ioctl() 718 if (copyout(&mcdevgrp, (void *)arg, sizeof (struct mc_devgrp))) in mc_ioctl()
|