• Home
  • Raw
  • Download

Lines Matching refs:blks

767 	int transfer, blks;  in st_flush_write_buffer()  local
786 blks = transfer / STp->block_size; in st_flush_write_buffer()
787 cmd[2] = blks >> 16; in st_flush_write_buffer()
788 cmd[3] = blks >> 8; in st_flush_write_buffer()
789 cmd[4] = blks; in st_flush_write_buffer()
810 STps->drv_block += blks; in st_flush_write_buffer()
819 STps->drv_block += blks; in st_flush_write_buffer()
1624 ssize_t i, do_count, blks, transfer; in st_write() local
1762 blks = transfer = do_count; in st_write()
1765 blks = STbp->buffer_bytes; in st_write()
1767 blks = do_count; in st_write()
1768 blks /= STp->block_size; in st_write()
1769 transfer = blks * STp->block_size; in st_write()
1771 cmd[2] = blks >> 16; in st_write()
1772 cmd[3] = blks >> 8; in st_write()
1773 cmd[4] = blks; in st_write()
1812 blks = (transfer - undone) / STp->block_size; in st_write()
1846 blks = do_count = 0; in st_write()
1866 STps->drv_block += blks; in st_write()
1903 int transfer, blks, bytes; in read_tape() local
1921 blks = bytes = count; in read_tape()
1924 blks = (STp->buffer)->buffer_blocks; in read_tape()
1925 bytes = blks * STp->block_size; in read_tape()
1930 blks = bytes / STp->block_size; in read_tape()
1931 bytes = blks * STp->block_size; in read_tape()
1940 cmd[2] = blks >> 16; in read_tape()
1941 cmd[3] = blks >> 8; in read_tape()
1942 cmd[4] = blks; in read_tape()
2003 if (transfer == blks) { /* We did not get anything, error */ in read_tape()
2008 STps->drv_block += blks - transfer + 1; in read_tape()
2013 STbp->buffer_bytes = (blks - transfer) * in read_tape()