Lines Matching refs:ST_WRITING
1110 if (STps->rw == ST_WRITING || STp->dirty) { in osst_initiate_read()
1386 STp->ps[STp->partition].rw == ST_WRITING?'w':'r', in osst_get_sector()
1387 STp->ps[STp->partition].rw == ST_WRITING?STp->buffer->buffer_bytes: in osst_get_sector()
1394 if (STp->ps[STp->partition].rw == ST_WRITING) in osst_get_sector()
2651 STp->ps[STp->partition].rw = ST_WRITING; in osst_verify_position()
3091 STps->rw = ST_WRITING; in osst_flush_write_buffer()
3201 if (STps->rw == ST_WRITING || STp->dirty) { /* Writing */ in osst_flush_buffer()
3276 STp->ps[STp->partition].rw = ST_WRITING; in osst_write_frame()
3463 if (STps->rw != ST_WRITING) { in osst_write()
3745 if (STps->rw == ST_WRITING) { in osst_read()
4170 if ((STps->rw == ST_WRITING || STp->dirty) && !STp->pos_unknown) { in osst_int_ioctl()
4834 if ((STps->rw == ST_WRITING || STp->dirty) && !STp->pos_unknown) { in os_scsi_tape_flush()
4840 if ( STps->rw >= ST_WRITING && !STp->pos_unknown) { in os_scsi_tape_flush()
5075 STps->rw >= ST_WRITING ? "write" : STps->rw == ST_READING ? "read" : "idle", in osst_ioctl()
5079 if (STps->rw >= ST_WRITING && STp->first_frame_position >= STp->eod_frame_ppos) { in osst_ioctl()
5192 if (STps->rw == ST_WRITING) in osst_ioctl()