Lines Matching refs:volumes
325 printf("mpt%d Configuration: %d volumes, %d drives\n",
395 CONFIG_PAGE_RAID_VOL_0 **volumes;
400 warnx("show volumes: extra arguments");
420 * Go ahead and read the info for all the volumes and figure
423 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
427 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
429 if (volumes[i] == NULL)
433 volumes[i]->VolumeStatus.State));
449 if (volumes[i] != NULL)
450 print_vol(volumes[i], state_len);
455 if (volumes[i] != NULL) {
456 if (volumes[i]->VolumeSettings.Settings &
463 free(volumes[i]);
472 free(volumes);
478 MPT_COMMAND(show, volumes, show_volumes);