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

/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c237 add_mem_banks(picl_nodehdl_t msegh, int fd, struct mc_segment *mcseg) argument
250 for (i = 0; i < mcseg->nbanks; i++) {
251 mcbank.id = mcseg->bankids[i].globalid;
375 struct mc_segment *mcseg; local
397 if ((mcseg = alloca((nbanks - 1) * sizeof (mcseg->bankids[0]) +
398 sizeof (*mcseg))) == NULL)
406 mcseg->id = mcmem->segmentids[i].globalid;
407 mcseg->nbanks = nbanks;
409 if (ioctl(fd, MCIOC_SEG, mcseg)
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3i.c438 struct mc_segment *mcseg, mcseg_in; local
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
[all...]
H A Dmc-us3.c498 struct mc_segment *mcseg, mcseg_in; local
615 sizeof (mcseg->bankids[0]);
616 mcseg = kmem_zalloc(size, KM_SLEEP);
618 mcseg->id = seg->seg_node.id;
619 mcseg->ifactor = seg->ifactor;
620 mcseg->base = seg->base;
621 mcseg->size = seg->size;
622 mcseg->nbanks = seg->nbanks;
633 mcseg->bankids[i].globalid = bank->bank_node.id;
634 mcseg
[all...]

Completed in 71 milliseconds