Lines Matching defs:drive
93 * get the info about this drive
98 tlm_drive_t *drive;
104 drive = library->tl_drive;
105 while (drive != NULL) {
106 if (drv == drive->td_number) {
107 return (drive);
109 drive = drive->td_next;
340 * add a new tape drive data blob to the list of drives in a library
341 * returns the new tape drive data blob just created
347 tlm_drive_t *drive = ndmp_malloc(sizeof (tlm_drive_t));
356 drive->td_library = library;
357 drive->td_number = library->tl_drive_count;
358 *p_drive = drive;
359 return (drive->td_number);