Lines Matching defs:cname
115 raidnp->cname);
196 mdrcp->hsnamep->cname);
203 mdrcp->hsnamep->cname);
220 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, raidnp->cname) != 0) {
294 if (meta_check_overlap(raidnp->cname, np, slblk, nblks,
408 if (fprintf(fp, "%s -r", raidp->common.namep->cname) == EOF)
554 "metaclear -f %s", raidnp->cname);
569 raidnp->cname, colnp->cname,
584 raidnp->cname, colnp->cname,
653 char *cname = colp->colnamep->cname;
660 colp->hsnamep->cname : "");
717 print_len, print_len, cname, start_blk, has_mddb_str,
726 print_len, cname, start_blk, has_mddb_str,
816 raidp->common.namep->cname) == EOF) {
962 strlen(raidp->cols.cols_val[col].colnamep->cname));
1230 return (mdsyserror(ep, ENOSPC, colnp->cname));
1235 meta_getminor(raidnp->dev), colnp->dev, colnp->cname));
1335 if (meta_check_overlap(np->cname, np, 0, -1,
1411 raidnp->cname);
1415 raidnp->cname);
1496 if (metaioctl(MD_IOCCHANGE, &msp, &msp.mde, raidnp->cname) != 0)
1546 (void) mdsyserror(ep, ENOSPC, colnp->cname);
1553 colnp->dev, colnp->cname);
1614 meta_getminor(raidnp->dev), raidnp->cname));
1619 return (mdsyserror(ep, ENODEV, oldnp->cname));
1690 newnp->cname, ep);
1715 raidnp->cname, oldnp->cname, newnp->cname);
1767 meta_getminor(raidnp->dev), raidnp->cname));
1772 return (mdsyserror(ep, ENODEV, colnp->cname));
1825 ret = meta_fixdevid(sp, DEV_UPDATE|DEV_LOCAL_SET, colnp->cname,
1848 raidnp->cname, colnp->cname);
1875 if (meta_check_overlap(raidnp->cname, thisnp, 0, -1,
1936 return (mdmderror(ep, MDE_BAD_RAID, mnum, raidnp->cname));
1951 return (mdmderror(ep, MDE_BAD_RAID, mnum, raidnp->cname));
1955 if (meta_raid_check_interlace(raidp->interlace, raidnp->cname, ep) != 0)
1988 return (mdsyserror(ep, ENOSPC, colnp->cname));
1992 return (mdsyserror(ep, ENOSPC, colnp->cname));
2269 (void) mderror(ep, MDE_RAID_BAD_PW_CNT, raidnp->cname);
2278 (void) mdsyserror(ep, ENOSPC, raidnp->cname);
2364 (void) mderror(ep, MDE_RAID_INVALID, raidnp->cname);
2383 raidnp->cname) != 0) {
2447 uname = raidnp->cname;
2675 raidnp->cname));
2690 raidnp->cname);
2764 raidnp->cname));
2772 if (metaioctl(MD_IOCSETREGEN, &ri, &ri.mde, raidnp->cname) != 0)
2817 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) {
2835 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) {