Lines Matching defs:dgrp
505 struct dgrp_info *dgrp = NULL;
705 if ((dgrp = (struct dgrp_info *)mc_node_get(mcdevgrp.id,
713 mcdevgrp.ndevices = dgrp->ndevices;
714 mcdevgrp.size = dgrp->size;
1486 struct dgrp_info *dgrp;
1517 if ((dgrp = (struct dgrp_info *)mc_node_get(idx, dgrp_head))
1524 dgrp = kmem_zalloc(sizeof (struct dgrp_info), KM_SLEEP);
1529 dgrp->deviceids[j] = dmidx;
1547 dgrp->dgrp_node.id = idx;
1548 dgrp->ndevices = NDIMMS;
1549 dgrp->size = 0;
1550 mc_node_add((mc_dlist_t *)dgrp, &dgrp_head, &dgrp_tail);
1585 struct dgrp_info *dgrp;
1677 if ((dgrp = (struct dgrp_info *)mc_node_get(idx, dgrp_head)) == NULL) {
1678 /* all avaiable dgrp should be linked at mc_construct */
1679 cmn_err(CE_WARN, "mlayout_add: dgrp %d doesn't exist\n", idx);
1686 dgrp->size += size;
1690 dmidx = dgrp->dgrp_node.id * NDIMMS + i;
1691 dgrp->deviceids[i] = dmidx;