Lines Matching refs:mcseg
438 struct mc_segment *mcseg, mcseg_in;
549 size = sizeof (*mcseg) + (seg->nbanks - 1) *
550 sizeof (mcseg->bankids[0]);
551 mcseg = kmem_zalloc(size, KM_SLEEP);
553 mcseg->id = seg->seg_node.id;
554 mcseg->ifactor = seg->ifactor;
555 mcseg->base = seg->base;
556 mcseg->size = seg->size;
557 mcseg->nbanks = seg->nbanks;
568 mcseg->bankids[i].globalid = bank->bank_node.id;
569 mcseg->bankids[i++].localid = bank->local_id;
575 if (copyout(mcseg, (void *)arg, size))
578 kmem_free(mcseg, size);