Lines Matching defs:drive
388 * Get the drive descriptors for the given media/alias/devpath.
395 /* at most one drive is associated with these descriptors */
442 * Check if we have the drive in our list, based upon the device id.
453 descriptor_t *drive = NULL;
469 * want. Once drive is set, we don't need to compare any more.
472 if (drive == NULL && drives[i]->p.disk->devid != NULL &&
474 drive = drives[i];
484 if (drive == NULL) {
488 return (drive);
711 /* Make sure the drive type is set */
889 * when we deal with path descriptors originating from a drive.
891 * lookup the path state for this drive.
935 /* check if the fixed drive is up or not */
1036 * Getting the drive type depends on if the dev tree walk indicated that the
1037 * drive was a CD-ROM or not. The kernal lumps all of the removable multi-media
1039 * a uscsi cmd to check the drive type.
1055 /* use uscsi to determine drive type */
1181 * the drive in this case). So, we may have merge all of the kstat values
1182 * to give an accurate set of stats for the drive.
1196 * uscsi function to get the rpm of the drive
1278 /* The first profile is the preferred one for the drive. */
1494 * return the same data to the drive when issuing a mode select.