Lines Matching refs:buffer_bytes

691 	STbuffer->buffer_bytes -= STbuffer->writing;  in write_behind_check()
779 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
807 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
820 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
852 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
856 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1190 (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()
1995 STbp->buffer_bytes = 0; in read_tape()
1998 STbp->buffer_bytes = bytes - transfer; in read_tape()
2012 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2018 STbp->buffer_bytes); in read_tape()
2030 STbp->buffer_bytes = 0; in read_tape()
2032 STbp->buffer_bytes = in read_tape()
2036 STbp->buffer_bytes); in read_tape()
2043 STbp->buffer_bytes = bytes - transfer; in read_tape()
2045 STbp->buffer_bytes = in read_tape()
2050 STbp->buffer_bytes); in read_tape()
2067 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2068 STbp->buffer_bytes = 0; in read_tape()
2078 STbp->buffer_bytes = bytes; in read_tape()
2080 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2087 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2134 STps->eof, STbp->buffer_bytes); in st_read()
2142 if (STbp->buffer_bytes == 0 && in st_read()
2172 if (STbp->buffer_bytes == 0) { in st_read()
2181 if (STbp->buffer_bytes > 0) { in st_read()
2186 STps->eof, STbp->buffer_bytes, in st_read()
2189 transfer = STbp->buffer_bytes < count - total ? in st_read()
2190 STbp->buffer_bytes : count - total; in st_read()
2233 STbp->buffer_bytes = 0; in st_read()
2897 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
2983 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3760 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3763 ((STp->buffer)->buffer_bytes + in st_ioctl()
3990 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
4004 st_bp->buffer_bytes += cnt; in append_to_buffer()
4036 st_bp->buffer_bytes -= cnt; in from_buffer()
4058 total=st_bp->buffer_bytes - offset; in move_buffer_data()
4066 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()