Lines Matching refs:dev
75 "dev",
173 if (np->dev == snp->dev) {
175 np->dev, np->cname);
249 if ((dump_fd = open("/dev/dump", O_RDONLY)) < 0)
250 return (mdsyserror(ep, errno, "/dev/dump"));
261 if (np->dev == dump_np->dev) {
263 np->dev, np->cname);
327 if (np->dev == mnp->dev) {
329 np->dev, mountp, np->cname);
483 char *device_name, /* fully qualified dev name */
680 * in the form /dev/XXNN[a-h], since the name caches differently and
683 if (! ((sscanf(np1->bname, "/dev/%*[^0-9/]%*u%*[a-h]%n", &l) == 0 &&
685 (sscanf(np2->bname, "/dev/%*[^0-9/]%*u%*[a-h]%n", &l) == 0 &&
695 if (meta_getmajor(np1->dev) != meta_getmajor(np2->dev))
773 if (np1->dev == np2->dev) { /* slice in use */
774 return (mduseerror(ep, MDE_ALREADY, np1->dev,
779 MDE_OVERLAP, np1->dev, uname, np1->cname));
782 MDE_SAME_DEVID, np1->dev, uname, np2->cname));
815 return (mddeverror(ep, MDE_REPCOMP_INVAL, np->dev,
826 np->dev, np->cname));
887 return (mddeverror(ep, MDE_IN_SHARED_SET, np->dev, np->cname));
889 return (mddeverror(ep, MDE_NOT_IN_SET, np->dev, np->cname));