Lines Matching refs:volumes
89 * - IOC2 : This gives us a list of volumes, and by walking the volumes we
90 * can enumerate all of the drives attached to volumes including
142 CONFIG_PAGE_RAID_VOL_0 **volumes;
180 * Go ahead and read the info for all the volumes. For this
183 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
187 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
189 if (volumes[i] == NULL) {
193 free(volumes);
199 count += volumes[i]->NumPhysDisks;
209 rdisk = volumes[i]->PhysDisk;
210 for (j = 0; j < volumes[i]->NumPhysDisks; rdisk++, j++)
213 free(volumes);
219 free(volumes[i]);
222 free(volumes);