Lines Matching refs:osst_tape

157 static struct osst_tape **os_scsi_tapes = NULL;
183 static int osst_int_ioctl(struct osst_tape *STp, struct osst_request ** aSRpnt,
186 static int osst_set_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt, int frame,…
188 static int osst_get_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt);
190 static int osst_flush_write_buffer(struct osst_tape *STp, struct osst_request ** aSRpnt);
192 static int osst_write_error_recovery(struct osst_tape * STp, struct osst_request ** aSRpnt, int pen…
194 static inline char *tape_name(struct osst_tape *tape) in tape_name()
235 static int osst_chk_result(struct osst_tape * STp, struct osst_request * SRpnt) in osst_chk_result()
326 struct osst_tape *STp = SRpnt->stp; in osst_end_async()
426 static struct osst_request * osst_do_scsi(struct osst_request *SRpnt, struct osst_tape *STp, in osst_do_scsi()
510 static void osst_write_behind_check(struct osst_tape *STp) in osst_write_behind_check()
551 static void osst_init_aux(struct osst_tape * STp, int frame_type, int frame_seq_number, in osst_init_aux()
613 static int osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int quiet) in osst_verify_frame()
749 static int osst_wait_ready(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_wait_ready()
814 static int osst_wait_for_medium(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned tim… in osst_wait_for_medium()
869 static int osst_position_tape_and_confirm(struct osst_tape * STp, struct osst_request ** aSRpnt, in… in osst_position_tape_and_confirm()
883 static int osst_flush_drive_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_flush_drive_buffer()
917 static int osst_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int curr, int min… in osst_wait_frame()
972 static int osst_recover_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int writi… in osst_recover_wait_frame()
1030 static int osst_read_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int timeout) in osst_read_frame()
1101 static int osst_initiate_read(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_initiate_read()
1138 static int osst_get_logical_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_get_logical_frame()
1267 static int osst_seek_logical_blk(struct osst_tape * STp, struct osst_request ** aSRpnt, int logical… in osst_seek_logical_blk()
1376 static int osst_get_sector(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_get_sector()
1406 static int osst_seek_sector(struct osst_tape * STp, struct osst_request ** aSRpnt, int sector) in osst_seek_sector()
1469 static int osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_read_back_buffer_and_rewrite()
1667 static int osst_reposition_and_retry(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_reposition_and_retry()
1770 static int osst_write_error_recovery(struct osst_tape * STp, struct osst_request ** aSRpnt, int pen… in osst_write_error_recovery()
1849 static int osst_space_over_filemarks_backward(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_space_over_filemarks_backward()
1948 static int osst_space_over_filemarks_forward_slow(struct osst_tape * STp, struct osst_request ** aS… in osst_space_over_filemarks_forward_slow()
2002 static int osst_space_over_filemarks_forward_fast(struct osst_tape * STp, struct osst_request ** aS… in osst_space_over_filemarks_forward_fast()
2153 static void osst_set_retries(struct osst_tape * STp, struct osst_request ** aSRpnt, int retries) in osst_set_retries()
2185 static int osst_write_filemark(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_write_filemark()
2213 static int osst_write_eod(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_write_eod()
2236 static int osst_write_filler(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, int … in osst_write_filler()
2261 static int __osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, in… in __osst_write_header()
2288 static int osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int locate_eod) in osst_write_header()
2362 static int osst_reset_header(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_reset_header()
2375 static int __osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt, int ppos) in __osst_analyze_headers()
2552 static int osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_analyze_headers()
2607 static int osst_verify_position(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_verify_position()
2683 static int osst_configure_onstream(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_configure_onstream()
2854 static int cross_eof(struct osst_tape *STp, struct osst_request ** aSRpnt, int forward) in cross_eof()
2883 static int osst_get_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_get_frame_position()
2967 static int osst_set_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt, int ppos, … in osst_set_frame_position()
3025 static int osst_write_trailer(struct osst_tape *STp, struct osst_request ** aSRpnt, int leave_at_EO… in osst_write_trailer()
3052 static int osst_flush_write_buffer(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_flush_write_buffer()
3182 static int osst_flush_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt, int seek_next) in osst_flush_buffer()
3244 static int osst_write_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int synchronous) in osst_write_frame()
3328 static int do_door_lock(struct osst_tape * STp, int do_lock) in do_door_lock()
3346 static void reset_state(struct osst_tape *STp) in reset_state()
3377 struct osst_tape * STp = filp->private_data; in osst_write()
3698 struct osst_tape * STp = filp->private_data; in osst_read()
3875 static void osst_log_options(struct osst_tape *STp, struct st_modedef *STm, char *name) in osst_log_options()
3898 static int osst_set_options(struct osst_tape *STp, long options) in osst_set_options()
4054 static int osst_int_ioctl(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_int_ioctl()
4446 struct osst_tape * STp; in __os_scsi_tape_open()
4825 struct osst_tape * STp = filp->private_data; in os_scsi_tape_flush()
4918 struct osst_tape * STp = filp->private_data; in os_scsi_tape_close()
4945 struct osst_tape * STp = file->private_data; in osst_ioctl()
5281 struct osst_tape *STp = file->private_data; in osst_compat_ioctl()
5691 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_adr_rev_show()
5705 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_linux_media_version_show()
5718 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_capacity_show()
5732 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_first_data_ppos_show()
5746 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_eod_frame_ppos_show()
5759 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_filemark_cnt_show()
5787 static int osst_sysfs_add(dev_t dev, struct device *device, struct osst_tape * STp, char * name) in osst_sysfs_add()
5837 struct osst_tape * tpnt; in osst_probe()
5856 os_scsi_tapes = kmalloc(osst_max_dev * sizeof(struct osst_tape *), GFP_ATOMIC); in osst_probe()
5878 tpnt = kzalloc(sizeof(struct osst_tape), GFP_ATOMIC); in osst_probe()
6002 struct osst_tape * tpnt; in osst_remove()
6071 struct osst_tape * STp; in exit_osst()