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