Lines Matching refs:buffer_bytes

633 	STbuffer->buffer_bytes -= STbuffer->writing;  in write_behind_check()
721 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
749 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
762 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
797 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
801 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1135 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1506 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1679 STbp->buffer_bytes; in st_write()
1698 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1710 blks = STbp->buffer_bytes; in st_write()
1730 STbp->buffer_bytes); in st_write()
1784 STp->buffer->buffer_bytes); in st_write()
1814 STbp->buffer_bytes = 0; in st_write()
1938 STbp->buffer_bytes = 0; in read_tape()
1941 STbp->buffer_bytes = bytes - transfer; in read_tape()
1955 STbp->buffer_bytes = (blks - transfer) * in read_tape()
1961 STbp->buffer_bytes); in read_tape()
1973 STbp->buffer_bytes = 0; in read_tape()
1975 STbp->buffer_bytes = in read_tape()
1979 STbp->buffer_bytes); in read_tape()
1986 STbp->buffer_bytes = bytes - transfer; in read_tape()
1988 STbp->buffer_bytes = in read_tape()
1993 STbp->buffer_bytes); in read_tape()
2010 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2011 STbp->buffer_bytes = 0; in read_tape()
2021 STbp->buffer_bytes = bytes; in read_tape()
2023 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2030 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2077 STps->eof, STbp->buffer_bytes); in st_read()
2085 if (STbp->buffer_bytes == 0 && in st_read()
2115 if (STbp->buffer_bytes == 0) { in st_read()
2124 if (STbp->buffer_bytes > 0) { in st_read()
2129 STps->eof, STbp->buffer_bytes, in st_read()
2132 transfer = STbp->buffer_bytes < count - total ? in st_read()
2133 STbp->buffer_bytes : count - total; in st_read()
2176 STbp->buffer_bytes = 0; in st_read()
2840 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
2926 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3603 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3606 ((STp->buffer)->buffer_bytes + in st_ioctl()
3843 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
3857 st_bp->buffer_bytes += cnt; in append_to_buffer()
3889 st_bp->buffer_bytes -= cnt; in from_buffer()
3911 total=st_bp->buffer_bytes - offset; in move_buffer_data()
3919 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()