Lines Matching refs:eof
805 if (STps->eof == ST_FM_HIT) { in flush_buffer()
808 STps->eof = ST_NOEOF; in flush_buffer()
817 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
821 STps->eof = ST_NOEOF; in flush_buffer()
888 STps->eof = ST_NOEOF; in reset_state()
1024 STps->eof = ST_NOEOF; in check_tape()
1353 STps->eof = ST_FM; in st_flush()
1370 else if (STps->eof == ST_FM_HIT) { in st_flush()
1376 STps->eof = ST_FM; in st_flush()
1378 STps->eof = ST_NOEOF; in st_flush()
1380 } else if ((STps->eof == ST_NOEOF && in st_flush()
1382 STps->eof == ST_FM_HIT) { in st_flush()
1386 STps->eof = ST_FM; in st_flush()
1631 STps->eof = ST_EOM_OK; in st_write()
1633 STps->eof = ST_EOM_ERROR; in st_write()
1636 if (STps->eof == ST_EOM_OK) { in st_write()
1637 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1641 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1694 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1697 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1758 STps->eof = ST_EOM_OK; in st_write()
1780 STps->eof = ST_EOM_OK; in st_write()
1792 STps->eof = ST_EOM_ERROR; in st_write()
1824 if (STps->eof == ST_EOD_1) in st_write()
1825 STps->eof = ST_EOM_OK; in st_write()
1826 else if (STps->eof != ST_EOM_OK) in st_write()
1827 STps->eof = ST_NOEOF; in st_write()
1861 if (STps->eof == ST_FM_HIT) in read_tape()
1968 if (STps->eof != ST_FM_HIT) in read_tape()
1969 STps->eof = ST_FM_HIT; in read_tape()
1971 STps->eof = ST_EOD_2; in read_tape()
1981 if (STps->eof == ST_FM) in read_tape()
1982 STps->eof = ST_EOD_1; in read_tape()
1984 STps->eof = ST_EOM_OK; in read_tape()
2000 if (STps->eof == ST_FM && in read_tape()
2005 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2074 if (debugging && STps->eof != ST_NOEOF) in st_read()
2077 STps->eof, STbp->buffer_bytes); in st_read()
2086 STps->eof >= ST_EOD_1) { in st_read()
2087 if (STps->eof < ST_EOD) { in st_read()
2088 STps->eof += 1; in st_read()
2126 if (debugging && STps->eof != ST_NOEOF) in st_read()
2129 STps->eof, STbp->buffer_bytes, in st_read()
2153 if (STps->eof == ST_FM_HIT) { in st_read()
2154 STps->eof = ST_FM; in st_read()
2158 } else if (STps->eof == ST_EOD_1) { in st_read()
2159 STps->eof = ST_EOD_2; in st_read()
2163 } else if (STps->eof == ST_EOD_2) in st_read()
2164 STps->eof = ST_EOD; in st_read()
2165 } else if (STps->eof == ST_FM) in st_read()
2166 STps->eof = ST_NOEOF; in st_read()
2806 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2935 STps->eof = ST_EOD; in st_int_ioctl()
2937 STps->eof = ST_FM; in st_int_ioctl()
2939 STps->eof = ST_NOEOF; in st_int_ioctl()
2950 STps->eof = ST_EOM_OK; in st_int_ioctl()
2965 STps->eof = ST_NOEOF; in st_int_ioctl()
2970 STps->eof = ST_NOEOF; in st_int_ioctl()
2979 STps->eof = ST_NOEOF; in st_int_ioctl()
2986 STps->eof = ST_NOEOF; in st_int_ioctl()
2992 STps->eof = ST_FM; in st_int_ioctl()
2998 STps->eof = ST_NOEOF; in st_int_ioctl()
3010 STps->eof = ST_NOEOF; in st_int_ioctl()
3014 STps->eof = ST_EOD; in st_int_ioctl()
3029 STps->eof = ST_NOEOF; in st_int_ioctl()
3032 STps->eof = ST_EOD; in st_int_ioctl()
3175 STps->eof = ST_NOEOF; in set_location()
3415 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3621 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3623 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4200 STps->eof = ST_NOEOF; in st_probe()