Lines Matching refs:opath
62 static int get_parts(disk_t *disk, struct ipart *iparts, char *opath,
64 static int open_disk(disk_t *diskp, char *opath, int len);
542 * opath -The device path
543 * opath_len -Buffer size used with opath
550 get_parts(disk_t *disk, struct ipart *iparts, char *opath, int opath_len)
568 if ((fd = open_disk(disk, opath, opath_len)) < 0) {
788 open_disk(disk_t *diskp, char *opath, int len)
795 if (opath != NULL) {
796 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len);
823 if (opath != NULL) {
824 (void) strlcpy(opath, part_dev, len);