Lines Matching defs:mc_node_get
156 static mc_dlist_t *mc_node_get(int id, mc_dlist_t *head);
594 if ((seg = (struct seg_info *)mc_node_get(mcseg_in.id,
664 if ((bank = (struct bank_info *)mc_node_get(mcbank.id,
705 if ((dgrp = (struct dgrp_info *)mc_node_get(mcdevgrp.id,
796 if ((mcport = (struct mctrl_info *)mc_node_get(mccontrol_in.id,
1268 seg = (struct seg_info *)mc_node_get(bank->seg_id, seg_head);
1321 seg = (struct seg_info *)mc_node_get(first_seg_id, seg_head);
1392 seg = (struct seg_info *)mc_node_get(bank->seg_id, seg_head);
1453 if ((segp = (struct seg_info *)mc_node_get(bankp->seg_id,
1492 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id,
1517 if ((dgrp = (struct dgrp_info *)mc_node_get(idx, dgrp_head))
1531 mc_node_get(dmidx, device_head)) != NULL) {
1612 if ((bank_curr = (struct bank_info *)mc_node_get(idx, bank_head))
1677 if ((dgrp = (struct dgrp_info *)mc_node_get(idx, dgrp_head)) == NULL) {
1694 if ((dev = (struct device_info *)mc_node_get(dmidx,
1790 if ((mctrl = (struct mctrl_info *)mc_node_get(mc_id, mctrl_head)) !=
1810 if (!(dgrp_ptr = mc_node_get(dgrpid, dgrp_head))) {
1817 if (dev_ptr = mc_node_get(devid, device_head)) {
1835 if (!(bank_curr = (struct bank_info *)mc_node_get(bankid,
1987 mc_node_get(int id, mc_dlist_t *head)
1993 DPRINTF(MC_LIST_DEBUG, ("mc_node_get: id %d, given id %d\n",