Lines Matching refs:buffer_bytes
687 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
775 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
803 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
816 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
851 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
855 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1189 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1560 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1733 STbp->buffer_bytes; in st_write()
1752 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1764 blks = STbp->buffer_bytes; in st_write()
1784 STbp->buffer_bytes); in st_write()
1838 STp->buffer->buffer_bytes); in st_write()
1868 STbp->buffer_bytes = 0; in st_write()
1992 STbp->buffer_bytes = 0; in read_tape()
1995 STbp->buffer_bytes = bytes - transfer; in read_tape()
2009 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2015 STbp->buffer_bytes); in read_tape()
2027 STbp->buffer_bytes = 0; in read_tape()
2029 STbp->buffer_bytes = in read_tape()
2033 STbp->buffer_bytes); in read_tape()
2040 STbp->buffer_bytes = bytes - transfer; in read_tape()
2042 STbp->buffer_bytes = in read_tape()
2047 STbp->buffer_bytes); in read_tape()
2064 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2065 STbp->buffer_bytes = 0; in read_tape()
2075 STbp->buffer_bytes = bytes; in read_tape()
2077 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2084 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2131 STps->eof, STbp->buffer_bytes); in st_read()
2139 if (STbp->buffer_bytes == 0 && in st_read()
2169 if (STbp->buffer_bytes == 0) { in st_read()
2178 if (STbp->buffer_bytes > 0) { in st_read()
2183 STps->eof, STbp->buffer_bytes, in st_read()
2186 transfer = STbp->buffer_bytes < count - total ? in st_read()
2187 STbp->buffer_bytes : count - total; in st_read()
2230 STbp->buffer_bytes = 0; in st_read()
2894 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
2980 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3657 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3660 ((STp->buffer)->buffer_bytes + in st_ioctl()
3897 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
3911 st_bp->buffer_bytes += cnt; in append_to_buffer()
3943 st_bp->buffer_bytes -= cnt; in from_buffer()
3965 total=st_bp->buffer_bytes - offset; in move_buffer_data()
3973 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()