Lines Matching defs:opath
63 static int get_parts(disk_t *disk, struct ipart *iparts, char *opath,
65 static int open_disk(disk_t *diskp, char *opath, int len);
541 * opath -The device path
542 * opath_len -Buffer size used with opath
549 get_parts(disk_t *disk, struct ipart *iparts, char *opath, int opath_len)
567 if ((fd = open_disk(disk, opath, opath_len)) < 0) {
789 open_disk(disk_t *diskp, char *opath, int len)
796 if (opath != NULL) {
797 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len);
824 if (opath != NULL) {
825 (void) strlcpy(opath, part_dev, len);