Lines Matching defs:devpath
120 char devpath[MAXPATHLEN];
133 dsk2rdsk(dp->name, devpath, sizeof (devpath));
134 fd = open(devpath, O_RDONLY|O_NDELAY);
149 * Look for the slice by the slice devpath.
224 char devpath[MAXPATHLEN];
228 dsk2rdsk(dp->name, devpath, sizeof (devpath));
229 fd = open(devpath, O_RDONLY|O_NDELAY);
247 slice_rdsk2dsk(sp->devpath, localpath,
265 * A slice descriptor points to a disk, the name is the devpath and the
534 if ((sfd = open(sp->devpath, O_RDONLY|O_NDELAY)) >= 0) {
543 slice_rdsk2dsk(sp->devpath, localpath, sizeof (localpath));
671 char devpath[MAXPATHLEN];
691 slice_rdsk2dsk(devp->devpath, devpath, sizeof (devpath));
692 slices[pos] = cache_get_desc(DM_SLICE, desc->p.disk, devpath,
716 /* check if we already determined the devpath slice number */
720 if ((fd = open(devp->devpath, O_RDONLY|O_NDELAY)) >= 0) {
753 char devpath[MAXPATHLEN];
793 slice_rdsk2dsk(devp->devpath, devpath, sizeof (devpath));
794 cache_load_desc(DM_SLICE, dp, devpath, mname, &error);
831 slice_rdsk2dsk(devp->devpath, path, sizeof (path));