Lines Matching refs:dev
48 * Point (dev) at an allocated device specifier for the device matching the
55 struct devdesc **dev = (struct devdesc **)vdev;
63 rv = efi_parsedev(dev, getenv("currdev"), NULL);
70 return (efi_parsedev(dev, devspec, path));
74 * Point (dev) at an allocated device specifier matching the string version
87 efi_parsedev(struct devdesc **dev, const char *devspec, const char **path)
123 *dev = idev;
152 if (dev != NULL)
153 *dev = idev;
162 struct devdesc *dev = (struct devdesc *)vdev;
165 switch(dev->d_type) {
168 return (zfs_fmtdev(dev));
175 sprintf(buf, "%s%d:", dev->d_dev->dv_name, dev->d_unit);