Lines Matching refs:mcbank
499 struct mc_bank mcbank;
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, (void *)arg, sizeof (struct mc_bank)))