Lines Matching refs:eof
696 STps->eof = ST_FM_HIT; in osst_verify_frame()
712 STps->eof = ST_EOD_1; in osst_verify_frame()
732 STps->eof = ST_NOEOF; in osst_verify_frame()
1154 return (STps->eof); in osst_get_logical_frame()
1255 if (debugging || STps->eof) in osst_get_logical_frame()
1258 name, frame_seq_number, STp->frame_seq_number, STps->eof); in osst_get_logical_frame()
1262 return (STps->eof); in osst_get_logical_frame()
1304 if (STps->eof == ST_FM_HIT) in osst_seek_logical_blk()
1333 if (STps->eof == ST_FM_HIT) { in osst_seek_logical_blk()
1342 STps->eof = (STp->first_frame_position >= STp->eod_frame_ppos)?ST_EOD:ST_NOEOF; in osst_seek_logical_blk()
1386 STp->buffer->read_pointer, STp->ps[STp->partition].eof); in osst_get_sector()
1441 if (STps->eof == ST_FM_HIT) { in osst_seek_sector()
1450 STps->eof = (STp->first_frame_position >= STp->eod_frame_ppos)?ST_EOD:ST_NOEOF; in osst_seek_sector()
1455 STps->drv_file, STps->drv_block, STp->buffer->read_pointer, STps->eof); in osst_seek_sector()
3016 STps->eof = ST_NOEOF; in osst_set_frame_position()
3042 STps->eof = ST_FM; in osst_write_trailer()
3219 if (STps->eof == ST_FM_HIT) { in osst_flush_buffer()
3222 STps->eof = ST_NOEOF; in osst_flush_buffer()
3232 else if (STps->eof == ST_FM_HIT) { in osst_flush_buffer()
3236 STps->eof = ST_NOEOF; in osst_flush_buffer()
3354 STps->eof = ST_NOEOF; in reset_state()
3530 STps->eof = ST_EOM_OK; in osst_write()
3532 STps->eof = ST_EOM_ERROR; in osst_write()
3535 if (STps->eof == ST_EOM_OK) { in osst_write()
3539 else if (STps->eof == ST_EOM_ERROR) { in osst_write()
3595 STps->eof = ST_EOM_OK; in osst_write()
3604 STps->eof = ST_EOM_ERROR; in osst_write()
3675 STps->eof = ST_NOEOF; in osst_write()
3759 if (debugging && STps->eof != ST_NOEOF) in osst_read()
3761 STps->eof, (STp->buffer)->buffer_bytes); in osst_read()
3764 STps->eof >= ST_EOD_1) { in osst_read()
3765 if (STps->eof < ST_EOD) { in osst_read()
3766 STps->eof += 1; in osst_read()
3789 if (STps->eof == ST_FM_HIT) in osst_read()
3802 if (debugging && STps->eof != ST_NOEOF) in osst_read()
3804 STps->eof, (STp->buffer)->buffer_bytes, (int) (count - total)); in osst_read()
3844 if (STps->eof == ST_FM_HIT) { in osst_read()
3845 STps->eof = (STp->first_frame_position >= STp->eod_frame_ppos)?ST_EOD_2:ST_FM; in osst_read()
3850 else if (STps->eof == ST_EOD_1) { in osst_read()
3851 STps->eof = ST_EOD_2; in osst_read()
3856 else if (STps->eof == ST_EOD_2) in osst_read()
3857 STps->eof = ST_EOD; in osst_read()
3859 else if (STps->eof == ST_FM) in osst_read()
3860 STps->eof = ST_NOEOF; in osst_read()
4368 STps->eof = ST_EOD; in osst_int_ioctl()
4369 else if ((cmd_in == MTFSFM || cmd_in == MTBSF) && STps->eof == ST_FM_HIT) { in osst_int_ioctl()
4378 STps->eof = (STp->first_frame_position >= STp->eod_frame_ppos)?ST_EOD:ST_FM; in osst_int_ioctl()
4380 STps->eof = ST_NOEOF; in osst_int_ioctl()
4403 STps->eof = ST_NOEOF; in osst_int_ioctl()
4411 STps->eof = ST_EOD; in osst_int_ioctl()
4414 STps->eof = ST_NOEOF; in osst_int_ioctl()
4420 STps->eof = ST_EOM_OK; in osst_int_ioctl()
4424 STps->eof = ST_NOEOF; in osst_int_ioctl()
4427 STps->eof = ST_EOD; in osst_int_ioctl()
4598 STps->eof = ST_NOEOF; in __os_scsi_tape_open()
4709 STps->eof = ST_NOEOF; in __os_scsi_tape_open()
4861 else if (STps->eof == ST_FM_HIT) { in os_scsi_tape_flush()
4867 STps->eof = ST_FM; in os_scsi_tape_flush()
4870 STps->eof = ST_NOEOF; in os_scsi_tape_flush()
4873 else if ((STps->eof == ST_NOEOF && in os_scsi_tape_flush()
4875 STps->eof == ST_FM_HIT) { in os_scsi_tape_flush()
4879 STps->eof = ST_FM; in os_scsi_tape_flush()
5009 if (STps->eof == ST_FM_HIT) { in osst_ioctl()
5208 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in osst_ioctl()
5210 else if (STps->eof >= ST_EOM_OK) in osst_ioctl()
5952 STps->eof = ST_NOEOF; in osst_probe()