Lines Matching refs:OS_Scsi_Tape
145 static OS_Scsi_Tape **os_scsi_tapes = NULL;
176 static int osst_int_ioctl(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, unsigned int cmd_in,unsigned l…
178 static int osst_set_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, int frame, int skip);
180 static int osst_get_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt);
182 static int osst_flush_write_buffer(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt);
184 static int osst_write_error_recovery(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int pending);
190 static int osst_chk_result(OS_Scsi_Tape * STp, Scsi_Request * SRpnt) in osst_chk_result()
278 OS_Scsi_Tape * STp; in osst_sleep_done()
310 static Scsi_Request * osst_do_scsi(Scsi_Request *SRpnt, OS_Scsi_Tape *STp, in osst_do_scsi()
371 static void osst_write_behind_check(OS_Scsi_Tape *STp) in osst_write_behind_check()
411 static void osst_init_aux(OS_Scsi_Tape * STp, int frame_type, int frame_seq_number, in osst_init_aux()
473 static int osst_verify_frame(OS_Scsi_Tape * STp, int frame_seq_number, int quiet) in osst_verify_frame()
606 static int osst_wait_ready(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, unsigned timeout, int initia… in osst_wait_ready()
673 static int osst_wait_for_medium(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, unsigned timeout) in osst_wait_for_medium()
730 static int osst_position_tape_and_confirm(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int frame) in osst_position_tape_and_confirm()
744 static int osst_flush_drive_buffer(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_flush_drive_buffer()
779 static int osst_wait_frame(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int curr, int minlast, int t… in osst_wait_frame()
838 static int osst_read_frame(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int timeout) in osst_read_frame()
907 static int osst_initiate_read(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_initiate_read()
945 static int osst_get_logical_frame(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int frame_seq_number,… in osst_get_logical_frame()
1071 static int osst_seek_logical_blk(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int logical_blk_num) in osst_seek_logical_blk()
1180 static int osst_get_sector(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_get_sector()
1210 static int osst_seek_sector(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int sector) in osst_seek_sector()
1273 static int osst_read_back_buffer_and_rewrite(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, in osst_read_back_buffer_and_rewrite()
1467 static int osst_reposition_and_retry(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, in osst_reposition_and_retry()
1572 static int osst_write_error_recovery(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int pending) in osst_write_error_recovery()
1649 static int osst_space_over_filemarks_backward(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, in osst_space_over_filemarks_backward()
1748 static int osst_space_over_filemarks_forward_slow(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, in osst_space_over_filemarks_forward_slow()
1802 static int osst_space_over_filemarks_forward_fast(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, in osst_space_over_filemarks_forward_fast()
1953 static void osst_set_retries(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int retries) in osst_set_retries()
1985 static int osst_write_filemark(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_write_filemark()
2013 static int osst_write_eod(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_write_eod()
2036 static int osst_write_filler(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int where, int count) in osst_write_filler()
2061 static int __osst_write_header(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int where, int count) in __osst_write_header()
2088 static int osst_write_header(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int locate_eod) in osst_write_header()
2162 static int osst_reset_header(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_reset_header()
2175 static int __osst_analyze_headers(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int ppos) in __osst_analyze_headers()
2353 static int osst_analyze_headers(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_analyze_headers()
2408 static int osst_verify_position(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt) in osst_verify_position()
2497 static int osst_configure_onstream(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt) in osst_configure_onstream()
2668 static int cross_eof(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, int forward) in cross_eof()
2697 static int osst_get_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt) in osst_get_frame_position()
2775 static int osst_set_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, int ppos, int skip) in osst_set_frame_position()
2833 static int osst_write_trailer(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, int leave_at_EOT) in osst_write_trailer()
2860 static int osst_flush_write_buffer(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt) in osst_flush_write_buffer()
2990 static int osst_flush_buffer(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int seek_next) in osst_flush_buffer()
3052 static int osst_write_frame(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int synchronous) in osst_write_frame()
3147 OS_Scsi_Tape * STp; in osst_write()
3479 OS_Scsi_Tape * STp; in osst_read()
3669 static void osst_log_options(OS_Scsi_Tape *STp, ST_mode *STm, int dev) in osst_log_options()
3692 static int osst_set_options(OS_Scsi_Tape *STp, long options) in osst_set_options()
3848 static int osst_int_ioctl(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, unsigned int cmd_in, unsigned… in osst_int_ioctl()
4272 OS_Scsi_Tape * STp; in os_scsi_tape_open()
4651 OS_Scsi_Tape * STp; in os_scsi_tape_flush()
4747 OS_Scsi_Tape * STp; in os_scsi_tape_close()
4784 OS_Scsi_Tape *STp; in osst_ioctl()
5550 OS_Scsi_Tape * STp = (OS_Scsi_Tape *) data; in osst_proc_read()
5573 static void osst_proc_create(OS_Scsi_Tape * STp, int dev) in osst_proc_create()
5609 OS_Scsi_Tape * tpnt; in osst_attach()
5630 tpnt = (OS_Scsi_Tape *)kmalloc(sizeof(OS_Scsi_Tape), GFP_ATOMIC); in osst_attach()
5636 memset(tpnt, 0, sizeof(OS_Scsi_Tape)); in osst_attach()
5778 (OS_Scsi_Tape **)kmalloc(osst_template.dev_max * sizeof(OS_Scsi_Tape *),
5821 OS_Scsi_Tape * tpnt;