Home
last modified time | relevance | path

Searched refs:num_volumes (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c91 int num_volumes; in main() local
174 volume_udis = libhal_drive_find_all_volumes (hal_ctx, drive, &num_volumes); in main()
177 for (i = 0; i < num_volumes; i++) { in main()
184 printf ("processing drive's volume %s (%d of %d)\n", volume_udi, i + 1, num_volumes); in main()
/titanic_44/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c203 int num_volumes; in unmount_childs() local
210 ctx, "block.storage_device", udi, &num_volumes, &error)) != NULL) { in unmount_childs()
214 for (i = 0; i < num_volumes; i++) { in unmount_childs()
/titanic_44/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c449 int num_volumes; in main() local
605 ctx, "block.storage_device", storage_device, &num_volumes, &error)) != NULL) { in main()
607 for (i = 0; i < num_volumes; i++) { in main()
/titanic_44/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c1706 libhal_drive_find_all_volumes (LibHalContext *hal_ctx, LibHalDrive *drive, int *num_volumes) in libhal_drive_find_all_volumes() argument
1719 *num_volumes = 0; in libhal_drive_find_all_volumes()
1741 result[*num_volumes] = strdup (udis[i]); in libhal_drive_find_all_volumes()
1742 *num_volumes = (*num_volumes) + 1; in libhal_drive_find_all_volumes()
1745 result[*num_volumes] = NULL; in libhal_drive_find_all_volumes()
H A Dlibhal-storage.h241 int *num_volumes);