Lines Matching refs:os_scsi_tapes
145 static OS_Scsi_Tape **os_scsi_tapes = NULL; variable
264 os_scsi_tapes[dev]->recover_count); in osst_chk_result()
280 if (os_scsi_tapes && (STp = os_scsi_tapes[dev])) { in osst_sleep_done()
3153 STp = os_scsi_tapes[dev]; in osst_write()
3486 STp = os_scsi_tapes[dev]; in osst_read()
4278 if (dev >= osst_template.dev_max || (STp = os_scsi_tapes[dev]) == NULL || !STp->device) in os_scsi_tape_open()
4664 STp = os_scsi_tapes[dev]; in os_scsi_tape_flush()
4754 STp = os_scsi_tapes[dev]; in os_scsi_tape_close()
4790 STp = os_scsi_tapes[dev]; in osst_ioctl()
5626 for (i=0; os_scsi_tapes[i] && i<osst_template.dev_max; i++); in osst_attach()
5637 os_scsi_tapes[i] = tpnt; in osst_attach()
5773 if (os_scsi_tapes) return 0;
5777 os_scsi_tapes =
5780 if (os_scsi_tapes == NULL) {
5790 for (i=0; i < osst_template.dev_max; ++i) os_scsi_tapes[i] = NULL;
5803 kfree(os_scsi_tapes);
5827 tpnt = os_scsi_tapes[i];
5843 os_scsi_tapes[i] = NULL;
5873 if(os_scsi_tapes != NULL) {
5874 kfree(os_scsi_tapes);