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

/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c244 struct mc_bank mcbank; local
251 mcbank.id = mcseg->bankids[i].globalid;
252 if (ioctl(fd, MCIOC_BANK, &mcbank) == -1)
267 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (mcbank.size),
272 err = ptree_create_and_add_prop(bankh, &propinfo, &mcbank.size,
281 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (mcbank.mask),
286 err = ptree_create_and_add_prop(bankh, &propinfo, &mcbank.mask,
295 PICL_PTYPE_UNSIGNED_INT, PICL_READ, sizeof (mcbank.match),
301 &mcbank.match, NULL);
309 PICL_PTYPE_INT, PICL_READ, sizeof (mcbank
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3i.c439 struct mc_bank mcbank; local
591 if (copyin((void *)arg, &mcbank, sizeof (mcbank)) != 0)
594 DPRINTF(MC_CMD_DEBUG, ("MCIOC_BANK: bank id %d\n", mcbank.id));
598 if ((bank = mc_node_get(mcbank.id, bank_head)) == NULL) {
603 mcbank.mask = bank->mask;
604 mcbank.match = bank->match;
605 mcbank.size = bank->size;
606 mcbank.devgrpid.globalid = bank->devgrp_id;
607 mcbank
[all...]
H A Dmc-us3.c499 struct mc_bank mcbank; local
657 if (copyin((void *)arg, &mcbank, sizeof (struct mc_bank)) != 0)
660 DPRINTF(MC_CMD_DEBUG, ("MCIOC_BANK: bank id %d\n", mcbank.id));
664 if ((bank = (struct bank_info *)mc_node_get(mcbank.id,
678 mcbank.mask = (~(bank->lk | ~(MADR_LK_MASK >>
680 mcbank.match = bank->lm << MADR_LPA_SHIFT;
681 mcbank.size = bank->size;
682 mcbank.devgrpid.globalid = bank->devgrp_id;
683 mcbank.devgrpid.localid = bank->devgrp_id % NDGRPS;
687 if (copyout(&mcbank, (voi
[all...]

Completed in 64 milliseconds