Home
last modified time | relevance | path

Searched refs:mcseg_in (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3i.c438 struct mc_segment *mcseg, mcseg_in; in mc_ioctl() local
527 if (copyin((void *)arg, &mcseg_in, sizeof (mcseg_in)) != 0) in mc_ioctl()
531 if ((seg = mc_node_get(mcseg_in.id, seg_head)) == NULL) { in mc_ioctl()
533 "id %d\n", mcseg_in.id)); in mc_ioctl()
538 if (mcseg_in.nbanks < seg->nbanks) { in mc_ioctl()
539 mcseg_in.nbanks = seg->nbanks; in mc_ioctl()
541 if (copyout(&mcseg_in, (void *)arg, sizeof (mcseg_in))) in mc_ioctl()
H A Dmc-us3.c498 struct mc_segment *mcseg, mcseg_in; in mc_ioctl() local
589 if (copyin((void *)arg, &mcseg_in, in mc_ioctl()
594 if ((seg = (struct seg_info *)mc_node_get(mcseg_in.id, in mc_ioctl()
597 "id %d\n", mcseg_in.id)); in mc_ioctl()
602 if (mcseg_in.nbanks < seg->nbanks) { in mc_ioctl()
603 mcseg_in.nbanks = seg->nbanks; in mc_ioctl()
604 if (copyout(&mcseg_in, (void *)arg, in mc_ioctl()