Lines Matching refs:mcmem
437 struct mc_memory *mcmem, mcmem_in;
494 size = sizeof (*mcmem) + (nsegments - 1) *
495 sizeof (mcmem->segmentids[0]);
496 mcmem = kmem_zalloc(size, KM_SLEEP);
498 mcmem->size = memsize;
499 mcmem->nsegments = nsegments;
503 mcmem->segmentids[i].globalid = seg->seg_node.id;
504 mcmem->segmentids[i].localid = seg->seg_node.id;
509 if (copyout(mcmem, (void *)arg, size))
512 kmem_free(mcmem, size);