Lines Matching defs:devid
33 * disk=(path=..., devid=...)
65 #include <devid.h>
505 * vdevs have a 'path' element, and devices also have a 'devid' element.
517 * For a whole disk, defer getting its devid until after labeling it.
521 * Get the devid for the device.
524 ddi_devid_t devid;
534 if (devid_get(fd, &devid) == 0) {
536 (devid_str = devid_str_encode(devid, minor)) !=
545 devid_free(devid);
933 * device in order to provide a devid. Now that we have labelled the disk and
934 * know that slice 0 is valid, we can construct the devid now.
937 * devid already (because we were able to open the whole disk). Otherwise, we
938 * need to get the devid after we label the disk.
950 ddi_devid_t devid;
978 * Fill in the devid, now that we've labeled the disk.
988 if (devid_get(fd, &devid) == 0) {
990 (devid_str = devid_str_encode(devid, minor)) !=
999 devid_free(devid);