Lines Matching defs:drive
95 * drives that are not part of a volume nor a spare drive. It
101 * found via IOC2, 2) a drive that is neither a volume member nor a spare
106 * routine to add each drive encountered. It quietly succeeds if the
107 * drive is already present in the list. It also sorts the list as it
117 * seen this drive.
127 * 'i' is our slot for the 'new' drive. Make room and then
128 * read the drive info.
165 warn("Failed to fetch drive list");
259 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive,
267 val = strtol(drive, &cp, 0);
327 /* Helper function to set a drive to a given state. */
329 drive_set_state(char *drive, U8 Action, U8 State, const char *name)
349 if (mpt_lookup_drive(list, drive, &PhysDiskNum) < 0) {
351 warn("Failed to find drive %s", drive);
357 /* Get the info for this drive. */
361 warn("Failed to fetch info for drive %u", PhysDiskNum);
377 warnc(error, "Failed to set drive %u to %s", PhysDiskNum, name);
395 "drive required");
410 "drive required");
425 "drive required");