Lines Matching refs:opath
347 static int get_attrs(disk_t *diskp, int fd, char *opath,
419 char opath[MAXPATHLEN];
426 opath[0] = 0;
427 fd = drive_open_disk(dp->p.disk, opath, sizeof (opath));
429 if ((*errp = get_attrs(dp->p.disk, fd, opath, attrs)) != 0) {
673 drive_open_disk(disk_t *diskp, char *opath, int len)
679 if (opath != NULL) {
680 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len);
909 get_attrs(disk_t *diskp, int fd, char *opath, nvlist_t *attrs)
994 if (strlen(opath) > 0) {
995 if (nvlist_add_string(attrs, DM_OPATH, opath) != 0) {