Lines Matching full: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; in mpt_pd_list() local
179 * Go ahead and read the info for all the volumes. For this in mpt_pd_list()
182 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); in mpt_pd_list()
186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, in mpt_pd_list()
188 if (volumes[i] == NULL) { in mpt_pd_list()
192 free(volumes); in mpt_pd_list()
198 count += volumes[i]->NumPhysDisks; in mpt_pd_list()
208 rdisk = volumes[i]->PhysDisk; in mpt_pd_list()
209 for (j = 0; j < volumes[i]->NumPhysDisks; rdisk++, j++) in mpt_pd_list()
212 free(volumes); in mpt_pd_list()
218 free(volumes[i]); in mpt_pd_list()
221 free(volumes); in mpt_pd_list()