Lines Matching refs:blks

768 	int transfer, blks;  in st_flush_write_buffer()  local
787 blks = transfer / STp->block_size; in st_flush_write_buffer()
788 cmd[2] = blks >> 16; in st_flush_write_buffer()
789 cmd[3] = blks >> 8; in st_flush_write_buffer()
790 cmd[4] = blks; in st_flush_write_buffer()
811 STps->drv_block += blks; in st_flush_write_buffer()
820 STps->drv_block += blks; in st_flush_write_buffer()
1625 ssize_t i, do_count, blks, transfer; in st_write() local
1763 blks = transfer = do_count; in st_write()
1766 blks = STbp->buffer_bytes; in st_write()
1768 blks = do_count; in st_write()
1769 blks /= STp->block_size; in st_write()
1770 transfer = blks * STp->block_size; in st_write()
1772 cmd[2] = blks >> 16; in st_write()
1773 cmd[3] = blks >> 8; in st_write()
1774 cmd[4] = blks; in st_write()
1813 blks = (transfer - undone) / STp->block_size; in st_write()
1847 blks = do_count = 0; in st_write()
1867 STps->drv_block += blks; in st_write()
1904 int transfer, blks, bytes; in read_tape() local
1922 blks = bytes = count; in read_tape()
1925 blks = (STp->buffer)->buffer_blocks; in read_tape()
1926 bytes = blks * STp->block_size; in read_tape()
1931 blks = bytes / STp->block_size; in read_tape()
1932 bytes = blks * STp->block_size; in read_tape()
1941 cmd[2] = blks >> 16; in read_tape()
1942 cmd[3] = blks >> 8; in read_tape()
1943 cmd[4] = blks; in read_tape()
2004 if (transfer == blks) { /* We did not get anything, error */ in read_tape()
2009 STps->drv_block += blks - transfer + 1; in read_tape()
2014 STbp->buffer_bytes = (blks - transfer) * in read_tape()