Lines Matching refs:TAPE_NR
131 #define TAPE_NR(x) (MINOR(x) & ~(128 | ST_MODE_MASK)) macro
192 int dev = TAPE_NR(STp->devt); in osst_chk_result()
277 unsigned int dev = TAPE_NR(SCpnt->request.rq_dev); in osst_sleep_done()
320 printk(KERN_ERR "osst%d:E: Can't get SCSI request.\n", TAPE_NR(STp->devt)); in osst_do_scsi()
361 printk(OSST_DEB_MSG "osst%d:D: Injecting read error\n", TAPE_NR(STp->devt)); in osst_do_scsi()
478 int dev = TAPE_NR(STp->devt); in osst_verify_frame()
613 int dev = TAPE_NR(STp->devt); in osst_wait_ready()
680 int dev = TAPE_NR(STp->devt); in osst_wait_for_medium()
752 int dev = TAPE_NR(STp->devt); in osst_flush_drive_buffer()
782 int dev = TAPE_NR(STp->devt); in osst_wait_frame()
845 int dev = TAPE_NR(STp->devt); in osst_read_frame()
914 int dev = TAPE_NR(STp->devt); in osst_initiate_read()
948 int dev = TAPE_NR(STp->devt); in osst_get_logical_frame()
1074 int dev = TAPE_NR(STp->devt); in osst_seek_logical_blk()
1184 int dev = TAPE_NR(STp->devt); in osst_get_sector()
1217 int dev = TAPE_NR(STp->devt); in osst_seek_sector()
1286 int dev = TAPE_NR(STp->devt); in osst_read_back_buffer_and_rewrite()
1472 int dev = TAPE_NR(STp->devt); in osst_reposition_and_retry()
1576 int dev = TAPE_NR(STp->devt); in osst_write_error_recovery()
1652 int dev = TAPE_NR(STp->devt); in osst_space_over_filemarks_backward()
1753 int dev = TAPE_NR(STp->devt); in osst_space_over_filemarks_forward_slow()
1805 int dev = TAPE_NR(STp->devt); in osst_space_over_filemarks_forward_fast()
1957 int dev = TAPE_NR(STp->devt); in osst_set_retries()
1991 int dev = TAPE_NR(STp->devt); in osst_write_filemark()
2017 int dev = TAPE_NR(STp->devt); in osst_write_eod()
2038 int dev = TAPE_NR(STp->devt); in osst_write_filler()
2063 int dev = TAPE_NR(STp->devt); in __osst_write_header()
2092 int dev = TAPE_NR(STp->devt); in osst_write_header()
2177 int dev = TAPE_NR(STp->devt); in __osst_analyze_headers()
2358 int dev = TAPE_NR(STp->devt); in osst_analyze_headers()
2419 int dev = TAPE_NR(STp->devt); in osst_verify_position()
2500 int dev = TAPE_NR(STp->devt); in osst_configure_onstream()
2671 int dev = TAPE_NR(STp->devt); in cross_eof()
2708 int dev = TAPE_NR(STp->devt); in osst_get_frame_position()
2782 int dev = TAPE_NR(STp->devt); in osst_set_frame_position()
2867 int dev = TAPE_NR(STp->devt); in osst_flush_write_buffer()
2995 int dev = TAPE_NR(STp->devt); in osst_flush_buffer()
3058 int dev = TAPE_NR(STp->devt); in osst_write_frame()
3150 int dev = TAPE_NR(inode->i_rdev); in osst_write()
3483 int dev = TAPE_NR(inode->i_rdev); in osst_read()
3697 int dev = TAPE_NR(STp->devt); in osst_set_options()
3859 int dev = TAPE_NR(STp->devt); in osst_int_ioctl()
4275 int dev = TAPE_NR(inode->i_rdev); in os_scsi_tape_open()
4663 dev = TAPE_NR(devt); in os_scsi_tape_flush()
4753 dev = TAPE_NR(devt); in os_scsi_tape_close()
4788 int dev = TAPE_NR(inode->i_rdev); in osst_ioctl()