Lines Matching defs:volumes
324 printf("mpt%d Configuration: %d volumes, %d drives\n",
394 CONFIG_PAGE_RAID_VOL_0 **volumes;
399 warnx("show volumes: extra arguments");
419 * Go ahead and read the info for all the volumes and figure
422 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
426 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
428 if (volumes[i] == NULL)
432 volumes[i]->VolumeStatus.State));
448 if (volumes[i] != NULL)
449 print_vol(volumes[i], state_len);
454 if (volumes[i] != NULL) {
455 if (volumes[i]->VolumeSettings.Settings &
462 free(volumes[i]);
471 free(volumes);
477 MPT_COMMAND(show, volumes, show_volumes);