Lines Matching refs:osst_request

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…
203 static void osst_analyze_sense(struct osst_request *SRpnt, struct st_cmdstatus *s) in osst_analyze_sense()
235 static int osst_chk_result(struct osst_tape * STp, struct osst_request * SRpnt) in osst_chk_result()
325 struct osst_request *SRpnt = req->end_io_data; in osst_end_async()
345 static struct osst_request *osst_allocate_request(void) in osst_allocate_request()
347 return kzalloc(sizeof(struct osst_request), GFP_KERNEL); in osst_allocate_request()
350 static void osst_release_request(struct osst_request *streq) in osst_release_request()
355 static int osst_execute(struct osst_request *SRpnt, const unsigned char *cmd, in osst_execute()
426 static struct osst_request * osst_do_scsi(struct osst_request *SRpnt, struct osst_tape *STp, in osst_do_scsi()
749 static int osst_wait_ready(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_wait_ready()
753 struct osst_request * SRpnt; 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()
817 struct osst_request * SRpnt; 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()
886 struct osst_request * SRpnt; 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()
974 struct osst_request * SRpnt; 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()
1033 struct osst_request * SRpnt; in osst_read_frame()
1101 static int osst_initiate_read(struct osst_tape * STp, struct osst_request ** aSRpnt) in osst_initiate_read()
1104 struct osst_request * SRpnt ; 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()
1472 struct osst_request * SRpnt = * 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()
1671 struct osst_request * SRpnt; 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()
1772 struct osst_request * SRpnt = * aSRpnt; 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()
2156 struct osst_request * SRpnt = * aSRpnt; 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()
2687 struct osst_request * SRpnt = * 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()
2886 struct osst_request * SRpnt; 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()
2970 struct osst_request * SRpnt; 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()
3057 struct osst_request * SRpnt = *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()
3247 struct osst_request * SRpnt; in osst_write_frame()
3374 struct osst_request * SRpnt = NULL; in osst_write()
3697 struct osst_request * SRpnt = NULL; in osst_read()
4054 static int osst_int_ioctl(struct osst_tape * STp, struct osst_request ** aSRpnt, in osst_int_ioctl()
4062 struct osst_request * SRpnt = * aSRpnt; in osst_int_ioctl()
4445 struct osst_request * SRpnt = NULL; in __os_scsi_tape_open()
4828 struct osst_request * SRpnt = NULL; in os_scsi_tape_flush()
4944 struct osst_request * SRpnt = NULL; in osst_ioctl()