Lines Matching refs:drive
93 * drives that are not part of a volume nor a spare drive. It
99 * found via IOC2, 2) a drive that is neither a volume member nor a spare
104 * routine to add each drive encountered. It quietly succeeds if the
105 * drive is already present in the list. It also sorts the list as it
115 * seen this drive.
125 * 'i' is our slot for the 'new' drive. Make room and then
126 * read the drive info.
162 warn("Failed to fetch drive list");
240 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive,
248 val = strtol(drive, &cp, 0);
308 /* Helper function to set a drive to a given state. */
310 drive_set_state(char *drive, U8 Action, U8 State, const char *name)
328 if (mpt_lookup_drive(list, drive, &PhysDiskNum) < 0) {
330 warn("Failed to find drive %s", drive);
335 /* Get the info for this drive. */
339 warn("Failed to fetch info for drive %u", PhysDiskNum);
352 warnc(error, "Failed to set drive %u to %s", PhysDiskNum, name);
368 "drive required");
383 "drive required");
398 "drive required");