Lines Matching refs:ST_WRITING
1113 if (STps->rw == ST_WRITING || STp->dirty) { in osst_initiate_read()
1389 STp->ps[STp->partition].rw == ST_WRITING?'w':'r', in osst_get_sector()
1390 STp->ps[STp->partition].rw == ST_WRITING?STp->buffer->buffer_bytes: in osst_get_sector()
1397 if (STp->ps[STp->partition].rw == ST_WRITING) in osst_get_sector()
2654 STp->ps[STp->partition].rw = ST_WRITING; in osst_verify_position()
3094 STps->rw = ST_WRITING; in osst_flush_write_buffer()
3204 if (STps->rw == ST_WRITING || STp->dirty) { /* Writing */ in osst_flush_buffer()
3279 STp->ps[STp->partition].rw = ST_WRITING; in osst_write_frame()
3466 if (STps->rw != ST_WRITING) { in osst_write()
3748 if (STps->rw == ST_WRITING) { in osst_read()
4173 if ((STps->rw == ST_WRITING || STp->dirty) && !STp->pos_unknown) { in osst_int_ioctl()
4837 if ((STps->rw == ST_WRITING || STp->dirty) && !STp->pos_unknown) { in os_scsi_tape_flush()
4843 if ( STps->rw >= ST_WRITING && !STp->pos_unknown) { in os_scsi_tape_flush()
5078 STps->rw >= ST_WRITING ? "write" : STps->rw == ST_READING ? "read" : "idle", in osst_ioctl()
5082 if (STps->rw >= ST_WRITING && STp->first_frame_position >= STp->eod_frame_ppos) { in osst_ioctl()
5195 if (STps->rw == ST_WRITING) in osst_ioctl()