Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c204 int num_volumes; in unmount_childs() local
211 ctx, "block.storage_device", udi, &num_volumes, &error)) != NULL) { in unmount_childs()
215 for (i = 0; i < num_volumes; i++) { in unmount_childs()
/illumos-gate/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()
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c1698 libhal_drive_find_all_volumes (LibHalContext *hal_ctx, LibHalDrive *drive, int *num_volumes) in libhal_drive_find_all_volumes() argument
1711 *num_volumes = 0; in libhal_drive_find_all_volumes()
1733 result[*num_volumes] = strdup (udis[i]); in libhal_drive_find_all_volumes()
1734 *num_volumes = (*num_volumes) + 1; in libhal_drive_find_all_volumes()
1737 result[*num_volumes] = NULL; in libhal_drive_find_all_volumes()
H A Dlibhal-storage.h241 int *num_volumes);