Lines Matching refs:drv_block

693 	if (STps->drv_block >= 0) {  in write_behind_check()
695 STps->drv_block++; in write_behind_check()
697 STps->drv_block += STbuffer->writing / STp->block_size; in write_behind_check()
713 STps->drv_block = -1; in write_behind_check()
808 if (STps->drv_block >= 0) in st_flush_write_buffer()
809 STps->drv_block += blks; in st_flush_write_buffer()
813 STps->drv_block = (-1); in st_flush_write_buffer()
817 if (STps->drv_block >= 0) in st_flush_write_buffer()
818 STps->drv_block += blks; in st_flush_write_buffer()
867 STps->drv_block = 0; in flush_buffer()
875 STps->drv_block = 0; in flush_buffer()
946 STps->drv_block = -1; in reset_state()
1082 STps->drv_block = 0; in check_tape()
1099 STp->ps[0].drv_file = STp->ps[0].drv_block = (-1); in check_tape()
1405 STps->drv_block = 0; in st_flush()
1430 STps->drv_block = 0; in st_flush()
1440 STps->drv_block = 0; in st_flush()
1665 STps->drv_file == 0 && STps->drv_block == 0) { in st_write()
1830 if (STps->drv_block >= 0) { in st_write()
1831 STps->drv_block += (transfer - undone) / in st_write()
1847 STps->drv_block = (-1); /* Too cautious? */ in st_write()
1855 STps->drv_block = (-1); /* Too cautious? */ in st_write()
1861 if (STps->drv_block >= 0) { in st_write()
1863 STps->drv_block += (do_count > 0); in st_write()
1865 STps->drv_block += blks; in st_write()
1993 if (STps->drv_block >= 0) in read_tape()
1994 STps->drv_block += 1; in read_tape()
2006 if (STps->drv_block >= 0) in read_tape()
2007 STps->drv_block += blks - transfer + 1; in read_tape()
2019 if (STps->drv_block >= 0) in read_tape()
2020 STps->drv_block += 1; in read_tape()
2056 STps->drv_block = (-1); in read_tape()
2083 if (STps->drv_block >= 0) { in read_tape()
2085 STps->drv_block++; in read_tape()
2087 STps->drv_block += STbp->buffer_bytes / STp->block_size; in read_tape()
2212 STps->drv_block = 0; in st_read()
2217 STps->drv_block = 0; in st_read()
2666 STps->drv_file = STps->drv_block = (-1); in do_load_unload()
2718 blkno = STps->drv_block; in st_int_ioctl()
2968 STps->drv_block = blkno; in st_int_ioctl()
3008 STps->drv_block = 0; in st_int_ioctl()
3035 STps->drv_block = -1; in st_int_ioctl()
3042 STps->drv_block = 0; in st_int_ioctl()
3048 STps->drv_block = 0; in st_int_ioctl()
3052 STps->drv_block = blkno - undone; in st_int_ioctl()
3054 STps->drv_block = (-1); in st_int_ioctl()
3060 STps->drv_block = (-1); in st_int_ioctl()
3064 if (STps->drv_block >= 0) in st_int_ioctl()
3065 STps->drv_block = blkno + undone; in st_int_ioctl()
3070 STps->drv_block = (-1); in st_int_ioctl()
3148 STp->ps[0].drv_block = STp->ps[0].drv_file = 0; in get_location()
3231 STps->drv_block = STps->drv_file = (-1); in set_location()
3251 STps->drv_block = STps->drv_file = 0; in set_location()
3688 STps->drv_block = STps->drv_file = 0; in st_ioctl()
3755 mt_status.mt_blkno = STps->drv_block; in st_ioctl()
4334 STps->drv_block = (-1); in st_probe()