Lines Matching refs:buffer_bytes
693 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
781 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
809 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
822 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
855 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
859 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1198 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1568 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1741 STbp->buffer_bytes; in st_write()
1760 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1772 blks = STbp->buffer_bytes; in st_write()
1792 STbp->buffer_bytes); in st_write()
1846 STp->buffer->buffer_bytes); in st_write()
1876 STbp->buffer_bytes = 0; in st_write()
2003 STbp->buffer_bytes = 0; in read_tape()
2006 STbp->buffer_bytes = bytes - transfer; in read_tape()
2020 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2026 STbp->buffer_bytes); in read_tape()
2038 STbp->buffer_bytes = 0; in read_tape()
2040 STbp->buffer_bytes = in read_tape()
2044 STbp->buffer_bytes); in read_tape()
2051 STbp->buffer_bytes = bytes - transfer; in read_tape()
2053 STbp->buffer_bytes = in read_tape()
2058 STbp->buffer_bytes); in read_tape()
2075 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2076 STbp->buffer_bytes = 0; in read_tape()
2086 STbp->buffer_bytes = bytes; in read_tape()
2088 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2095 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2142 STps->eof, STbp->buffer_bytes); in st_read()
2150 if (STbp->buffer_bytes == 0 && in st_read()
2180 if (STbp->buffer_bytes == 0) { in st_read()
2189 if (STbp->buffer_bytes > 0) { in st_read()
2194 STps->eof, STbp->buffer_bytes, in st_read()
2197 transfer = STbp->buffer_bytes < count - total ? in st_read()
2198 STbp->buffer_bytes : count - total; in st_read()
2241 STbp->buffer_bytes = 0; in st_read()
2905 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
2991 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3781 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3784 ((STp->buffer)->buffer_bytes + in st_ioctl()
4011 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
4025 st_bp->buffer_bytes += cnt; in append_to_buffer()
4057 st_bp->buffer_bytes -= cnt; in from_buffer()
4079 total=st_bp->buffer_bytes - offset; in move_buffer_data()
4087 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()