Lines Matching refs:buffer_bytes
688 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
776 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
804 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
817 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
849 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
853 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1187 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1558 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1731 STbp->buffer_bytes; in st_write()
1750 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1762 blks = STbp->buffer_bytes; in st_write()
1782 STbp->buffer_bytes); in st_write()
1836 STp->buffer->buffer_bytes); in st_write()
1866 STbp->buffer_bytes = 0; in st_write()
1993 STbp->buffer_bytes = 0; in read_tape()
1996 STbp->buffer_bytes = bytes - transfer; in read_tape()
2010 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2016 STbp->buffer_bytes); in read_tape()
2028 STbp->buffer_bytes = 0; in read_tape()
2030 STbp->buffer_bytes = in read_tape()
2034 STbp->buffer_bytes); in read_tape()
2041 STbp->buffer_bytes = bytes - transfer; in read_tape()
2043 STbp->buffer_bytes = in read_tape()
2048 STbp->buffer_bytes); in read_tape()
2065 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2066 STbp->buffer_bytes = 0; in read_tape()
2076 STbp->buffer_bytes = bytes; in read_tape()
2078 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2085 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2132 STps->eof, STbp->buffer_bytes); in st_read()
2140 if (STbp->buffer_bytes == 0 && in st_read()
2170 if (STbp->buffer_bytes == 0) { in st_read()
2179 if (STbp->buffer_bytes > 0) { in st_read()
2184 STps->eof, STbp->buffer_bytes, in st_read()
2187 transfer = STbp->buffer_bytes < count - total ? in st_read()
2188 STbp->buffer_bytes : count - total; in st_read()
2231 STbp->buffer_bytes = 0; in st_read()
2895 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
2981 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3758 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3761 ((STp->buffer)->buffer_bytes + in st_ioctl()
3998 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
4012 st_bp->buffer_bytes += cnt; in append_to_buffer()
4044 st_bp->buffer_bytes -= cnt; in from_buffer()
4066 total=st_bp->buffer_bytes - offset; in move_buffer_data()
4074 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()