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

/osnet-11/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.c1198 const char *drive_udi; local
1201 drive_udi = libhal_volume_get_storage_device_udi (volume);
1203 if (drive_udi == NULL)
1204 unknown_error ("Cannot get drive_udi from volume");
1205 drive = libhal_drive_from_udi (hal_ctx, drive_udi);
/osnet-11/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 29 milliseconds