Lines Matching refs:drive
98 tlm_drive_t *drive; in tlm_drive() local
104 drive = library->tl_drive; in tlm_drive()
105 while (drive != NULL) { in tlm_drive()
106 if (drv == drive->td_number) { in tlm_drive()
107 return (drive); in tlm_drive()
109 drive = drive->td_next; in tlm_drive()
347 tlm_drive_t *drive = ndmp_malloc(sizeof (tlm_drive_t)); in tlm_insert_new_drive() local
356 drive->td_library = library; in tlm_insert_new_drive()
357 drive->td_number = library->tl_drive_count; in tlm_insert_new_drive()
358 *p_drive = drive; in tlm_insert_new_drive()
359 return (drive->td_number); in tlm_insert_new_drive()