Lines Matching defs:volumes
88 * - IOC2 : This gives us a list of volumes, and by walking the volumes we
89 * can enumerate all of the drives attached to volumes including
141 CONFIG_PAGE_RAID_VOL_0 **volumes;
179 * Go ahead and read the info for all the volumes. For this
182 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes);
186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
188 if (volumes[i] == NULL) {
192 free(volumes);
198 count += volumes[i]->NumPhysDisks;
208 rdisk = volumes[i]->PhysDisk;
209 for (j = 0; j < volumes[i]->NumPhysDisks; rdisk++, j++)
212 free(volumes);
218 free(volumes[i]);
221 free(volumes);