Lines Matching refs:buffer_bytes
704 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
792 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
820 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
833 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
866 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
870 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1219 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1589 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1762 STbp->buffer_bytes; in st_write()
1781 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
1793 blks = STbp->buffer_bytes; in st_write()
1813 STbp->buffer_bytes); in st_write()
1867 STp->buffer->buffer_bytes); in st_write()
1897 STbp->buffer_bytes = 0; in st_write()
2024 STbp->buffer_bytes = 0; in read_tape()
2027 STbp->buffer_bytes = bytes - transfer; in read_tape()
2041 STbp->buffer_bytes = (blks - transfer) * in read_tape()
2047 STbp->buffer_bytes); in read_tape()
2059 STbp->buffer_bytes = 0; in read_tape()
2061 STbp->buffer_bytes = in read_tape()
2065 STbp->buffer_bytes); in read_tape()
2072 STbp->buffer_bytes = bytes - transfer; in read_tape()
2074 STbp->buffer_bytes = in read_tape()
2079 STbp->buffer_bytes); in read_tape()
2096 if (STbp->buffer_bytes < 0) /* Caused by bogus sense data */ in read_tape()
2097 STbp->buffer_bytes = 0; in read_tape()
2107 STbp->buffer_bytes = bytes; in read_tape()
2109 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2116 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2163 STps->eof, STbp->buffer_bytes); in st_read()
2171 if (STbp->buffer_bytes == 0 && in st_read()
2201 if (STbp->buffer_bytes == 0) { in st_read()
2210 if (STbp->buffer_bytes > 0) { in st_read()
2215 STps->eof, STbp->buffer_bytes, in st_read()
2218 transfer = STbp->buffer_bytes < count - total ? in st_read()
2219 STbp->buffer_bytes : count - total; in st_read()
2262 STbp->buffer_bytes = 0; in st_read()
2925 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) in st_int_ioctl()
3014 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in st_int_ioctl()
3885 (STp->buffer)->buffer_bytes / STp->block_size; in st_ioctl()
3888 ((STp->buffer)->buffer_bytes + in st_ioctl()
4092 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
4106 st_bp->buffer_bytes += cnt; in append_to_buffer()
4138 st_bp->buffer_bytes -= cnt; in from_buffer()
4160 total=st_bp->buffer_bytes - offset; in move_buffer_data()
4168 st_bp->buffer_bytes = st_bp->read_pointer = total; in move_buffer_data()