Searched refs:drive_udi (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c79 const char *drive_udi; local
161 drive_udi = libhal_volume_get_storage_device_udi (volume);
163 drive_udi = g_strdup (udi);
166 if (drive_udi == NULL) {
169 if ((drive = libhal_drive_from_udi (hal_ctx, drive_udi)) == NULL) {
H A Dhal-storage-unmount.c188 const char *drive_udi; local
191 drive_udi = libhal_volume_get_storage_device_udi (volume);
193 if (drive_udi == NULL)
194 unknown_error ("Cannot get drive_udi from volume");
195 drive = libhal_drive_from_udi (hal_ctx, drive_udi);
H A Dhal-storage-zpool.c177 const char *drive_udi; local
227 if ((drive_udi = libhal_volume_get_storage_device_udi (volume)) == NULL ) {
230 if ((drive = libhal_drive_from_udi (hal_ctx, drive_udi)) == NULL) {
H A Dhal-storage-mount.c1131 const char *drive_udi; local
1134 drive_udi = libhal_volume_get_storage_device_udi (volume);
1136 if (drive_udi == NULL)
1137 unknown_error ("Cannot get drive_udi from volume");
1138 drive = libhal_drive_from_udi (hal_ctx, drive_udi);
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c982 const char *drive_udi; local
1006 drive_udi = libhal_drive_get_udi(drive);
1007 udis = (char **)&drive_udi;
1071 const char *drive_udi; local
1093 drive_udi = libhal_volume_get_storage_device_udi(volume);
1096 drive_udi, "storage.solaris.legacy.symdev", NULL))) {
1098 "storage.solaris.legacy.symdev", drive_udi);
1102 drive_udi, "storage.solaris.legacy.media_type", NULL))) {
1104 "storage.solaris.legacy.media_type", drive_udi);
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c1711 const char *drive_udi; local
1721 drive_udi = libhal_drive_get_udi (drive);
1722 if (drive_udi == NULL)
1728 drive_udi, &num_udis, &error)) == NULL) {
1739 if (strcmp (udis[i], drive_udi) == 0)

Completed in 68 milliseconds