Lines Matching refs:buffer_bytes
703 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
791 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
819 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
832 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
865 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
869 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1218 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1588 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1761 STbp->buffer_bytes; in st_write()
1780 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1792 blks = STbp->buffer_bytes; in st_write()
1812 STbp->buffer_bytes); in st_write()
1866 STp->buffer->buffer_bytes); in st_write()
1896 STbp->buffer_bytes = 0; in st_write()
2023 STbp->buffer_bytes = 0; in read_tape()
2026 STbp->buffer_bytes = bytes - transfer; in read_tape()
2040 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2046 STbp->buffer_bytes); in read_tape()
2058 STbp->buffer_bytes = 0; in read_tape()
2060 STbp->buffer_bytes = in read_tape()
2064 STbp->buffer_bytes); in read_tape()
2071 STbp->buffer_bytes = bytes - transfer; in read_tape()
2073 STbp->buffer_bytes = in read_tape()
2078 STbp->buffer_bytes); in read_tape()
2095 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2096 STbp->buffer_bytes = 0; in read_tape()
2106 STbp->buffer_bytes = bytes; in read_tape()
2108 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2115 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2162 STps->eof, STbp->buffer_bytes); in st_read()
2170 if (STbp->buffer_bytes == 0 && in st_read()
2200 if (STbp->buffer_bytes == 0) { in st_read()
2209 if (STbp->buffer_bytes > 0) { in st_read()
2214 STps->eof, STbp->buffer_bytes, in st_read()
2217 transfer = STbp->buffer_bytes < count - total ? in st_read()
2218 STbp->buffer_bytes : count - total; in st_read()
2261 STbp->buffer_bytes = 0; in st_read()
2924 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
3013 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3884 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3887 ((STp->buffer)->buffer_bytes + in st_ioctl()
4092 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
4106 st_bp->buffer_bytes += cnt; in append_to_buffer()
4138 st_bp->buffer_bytes -= cnt; in from_buffer()
4160 total=st_bp->buffer_bytes - offset; in move_buffer_data()
4168 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()