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()
327 struct osst_tape *STp = SRpnt->stp; in osst_end_async()
429 static struct osst_request * osst_do_scsi(struct osst_request *SRpnt, struct osst_tape *STp, in osst_do_scsi()
513 static void osst_write_behind_check(struct osst_tape *STp) in osst_write_behind_check()
554 static void osst_init_aux(struct osst_tape * STp, int frame_type, int frame_seq_number, in osst_init_aux()
616 static int osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int quiet) in osst_verify_frame()
752 static int osst_wait_ready(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_wait_ready()
817 static int osst_wait_for_medium(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned tim… in osst_wait_for_medium()
872 static int osst_position_tape_and_confirm(struct osst_tape * STp, struct osst_request ** aSRpnt, in… in osst_position_tape_and_confirm()
886 static int osst_flush_drive_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_flush_drive_buffer()
920 static int osst_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int curr, int min… in osst_wait_frame()
975 static int osst_recover_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int writi… in osst_recover_wait_frame()
1033 static int osst_read_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int timeout) in osst_read_frame()
1104 static int osst_initiate_read(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_initiate_read()
1141 static int osst_get_logical_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_get_logical_frame()
1270 static int osst_seek_logical_blk(struct osst_tape * STp, struct osst_request ** aSRpnt, int logical… in osst_seek_logical_blk()
1379 static int osst_get_sector(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_get_sector()
1409 static int osst_seek_sector(struct osst_tape * STp, struct osst_request ** aSRpnt, int sector) in osst_seek_sector()
1472 static int osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_read_back_buffer_and_rewrite()
1670 static int osst_reposition_and_retry(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_reposition_and_retry()
1773 static int osst_write_error_recovery(struct osst_tape * STp, struct osst_request ** aSRpnt, int pen… in osst_write_error_recovery()
1852 static int osst_space_over_filemarks_backward(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_space_over_filemarks_backward()
1951 static int osst_space_over_filemarks_forward_slow(struct osst_tape * STp, struct osst_request ** aS… in osst_space_over_filemarks_forward_slow()
2005 static int osst_space_over_filemarks_forward_fast(struct osst_tape * STp, struct osst_request ** aS… in osst_space_over_filemarks_forward_fast()
2156 static void osst_set_retries(struct osst_tape * STp, struct osst_request ** aSRpnt, int retries) in osst_set_retries()
2188 static int osst_write_filemark(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_write_filemark()
2216 static int osst_write_eod(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_write_eod()
2239 static int osst_write_filler(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, int … in osst_write_filler()
2264 static int __osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, in… in __osst_write_header()
2291 static int osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int locate_eod) in osst_write_header()
2365 static int osst_reset_header(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_reset_header()
2378 static int __osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt, int ppos) in __osst_analyze_headers()
2555 static int osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_analyze_headers()
2610 static int osst_verify_position(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_verify_position()
2686 static int osst_configure_onstream(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_configure_onstream()
2857 static int cross_eof(struct osst_tape *STp, struct osst_request ** aSRpnt, int forward) in cross_eof()
2886 static int osst_get_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_get_frame_position()
2970 static int osst_set_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt, int ppos, … in osst_set_frame_position()
3028 static int osst_write_trailer(struct osst_tape *STp, struct osst_request ** aSRpnt, int leave_at_EO… in osst_write_trailer()
3055 static int osst_flush_write_buffer(struct osst_tape *STp, struct osst_request ** aSRpnt) in osst_flush_write_buffer()
3185 static int osst_flush_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt, int seek_next) in osst_flush_buffer()
3247 static int osst_write_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int synchronous) in osst_write_frame()
3331 static int do_door_lock(struct osst_tape * STp, int do_lock) in do_door_lock()
3349 static void reset_state(struct osst_tape *STp) in reset_state()
3380 struct osst_tape * STp = filp->private_data; in osst_write()
3701 struct osst_tape * STp = filp->private_data; in osst_read()
3878 static void osst_log_options(struct osst_tape *STp, struct st_modedef *STm, char *name) in osst_log_options()
3901 static int osst_set_options(struct osst_tape *STp, long options) in osst_set_options()
4057 static int osst_int_ioctl(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_int_ioctl()
4449 struct osst_tape * STp; in __os_scsi_tape_open()
4828 struct osst_tape * STp = filp->private_data; in os_scsi_tape_flush()
4921 struct osst_tape * STp = filp->private_data; in os_scsi_tape_close()
4948 struct osst_tape * STp = file->private_data; in osst_ioctl()
5284 struct osst_tape *STp = file->private_data; in osst_compat_ioctl()
5694 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_adr_rev_show()
5708 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_linux_media_version_show()
5721 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_capacity_show()
5735 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_first_data_ppos_show()
5749 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_eod_frame_ppos_show()
5762 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); in osst_filemark_cnt_show()
5790 static int osst_sysfs_add(dev_t dev, struct device *device, struct osst_tape * STp, char * name) in osst_sysfs_add()
5840 struct osst_tape * tpnt; in osst_probe()
5860 sizeof(struct osst_tape *), in osst_probe()
5883 tpnt = kzalloc(sizeof(struct osst_tape), GFP_ATOMIC); in osst_probe()
6007 struct osst_tape * tpnt; in osst_remove()
6076 struct osst_tape * STp; in exit_osst()