Lines Matching defs:rname
488 mdname_t *np, /* only rname, drivenamep, are setup */
497 char *rname = np->rname;
529 (void) mdsyserror(ep, dnp->errnum, rname);
535 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) {
536 (void) mdsyserror(ep, errno, rname);
550 "%s has no device id\n"), np->rname);
574 np->rname);
588 (void) mddeverror(ep, MDE_NOT_DISK, NODEV, rname);
592 (void) mdsyserror(ep, err, rname);
615 (void) mdsyserror(ep, save_errno, rname);
621 rname);
631 rname);
654 NODEV64, rname);
728 char *rname = np->rname;
735 if ((fd = open(rname, (O_RDONLY | O_NDELAY), 0)) < 0)
736 return (mdsyserror(ep, errno, rname));
766 return (mdsyserror(ep, save_errno, rname));
774 return (mdsyserror(ep, save_errno, rname));
784 mdname_t *np, /* only rname, drivenamep, are setup */
795 mdname_t *np, /* only rname, drivenamep, are setup */
799 char *rname = np->rname;
809 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) {
810 (void) mdsyserror(ep, errno, rname);
818 (void) mddeverror(ep, MDE_NOT_DISK, NODEV64, rname);
820 (void) mdsyserror(ep, save, rname);