Lines Matching refs:volumes
141 CONFIG_PAGE_RAID_VOL_0 **volumes; in mpt_pd_list() local
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()