Lines Matching full:drives
89 * can enumerate all of the drives attached to volumes including
90 * online drives and failed drives.
91 * - IOC3 : This gives us a list of all online physical drives including
92 * drives that are not part of a volume nor a spare drive. It
93 * does not include any failed drives.
94 * - IOC5 : This gives us a list of all spare drives including failed
105 * inserts new drives.
117 if (list->drives[i]->PhysDiskNum == PhysDiskNum) in mpt_pd_insert()
119 if (list->drives[i]->PhysDiskNum > PhysDiskNum) in mpt_pd_insert()
128 list->drives[j + 1] = list->drives[j]; in mpt_pd_insert()
129 list->drives[i] = mpt_pd_info(fd, PhysDiskNum, NULL); in mpt_pd_insert()
130 if (list->drives[i] == NULL) in mpt_pd_insert()
180 * pass we figure out how many physical drives there are. in mpt_pd_list()
203 /* Walk the various lists enumerating drives. */ in mpt_pd_list()
251 free(list->drives[i]); in mpt_free_pd_list()
285 if (list->drives[val]->PhysDiskBus == bus && in mpt_lookup_drive()
286 list->drives[val]->PhysDiskID == id) { in mpt_lookup_drive()
287 *PhysDiskNum = list->drives[val]->PhysDiskNum; in mpt_lookup_drive()