Lines Matching refs:eof
860 if (STps->eof == ST_FM_HIT) { in flush_buffer()
863 STps->eof = ST_NOEOF; in flush_buffer()
872 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
876 STps->eof = ST_NOEOF; in flush_buffer()
943 STps->eof = ST_NOEOF; in reset_state()
1079 STps->eof = ST_NOEOF; in check_tape()
1408 STps->eof = ST_FM; in st_flush()
1425 else if (STps->eof == ST_FM_HIT) { in st_flush()
1431 STps->eof = ST_FM; in st_flush()
1433 STps->eof = ST_NOEOF; in st_flush()
1435 } else if ((STps->eof == ST_NOEOF && in st_flush()
1437 STps->eof == ST_FM_HIT) { in st_flush()
1441 STps->eof = ST_FM; in st_flush()
1686 STps->eof = ST_EOM_OK; in st_write()
1688 STps->eof = ST_EOM_ERROR; in st_write()
1691 if (STps->eof == ST_EOM_OK) { in st_write()
1692 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1696 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1749 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1752 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1813 STps->eof = ST_EOM_OK; in st_write()
1835 STps->eof = ST_EOM_OK; in st_write()
1847 STps->eof = ST_EOM_ERROR; in st_write()
1879 if (STps->eof == ST_EOD_1) in st_write()
1880 STps->eof = ST_EOM_OK; in st_write()
1881 else if (STps->eof != ST_EOM_OK) in st_write()
1882 STps->eof = ST_NOEOF; in st_write()
1916 if (STps->eof == ST_FM_HIT) in read_tape()
2026 if (STps->eof != ST_FM_HIT) in read_tape()
2027 STps->eof = ST_FM_HIT; in read_tape()
2029 STps->eof = ST_EOD_2; in read_tape()
2039 if (STps->eof == ST_FM) in read_tape()
2040 STps->eof = ST_EOD_1; in read_tape()
2042 STps->eof = ST_EOM_OK; in read_tape()
2058 if (STps->eof == ST_FM && in read_tape()
2063 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2132 if (debugging && STps->eof != ST_NOEOF) in st_read()
2135 STps->eof, STbp->buffer_bytes); in st_read()
2144 STps->eof >= ST_EOD_1) { in st_read()
2145 if (STps->eof < ST_EOD) { in st_read()
2146 STps->eof += 1; in st_read()
2184 if (debugging && STps->eof != ST_NOEOF) in st_read()
2187 STps->eof, STbp->buffer_bytes, in st_read()
2211 if (STps->eof == ST_FM_HIT) { in st_read()
2212 STps->eof = ST_FM; in st_read()
2216 } else if (STps->eof == ST_EOD_1) { in st_read()
2217 STps->eof = ST_EOD_2; in st_read()
2221 } else if (STps->eof == ST_EOD_2) in st_read()
2222 STps->eof = ST_EOD; in st_read()
2223 } else if (STps->eof == ST_FM) in st_read()
2224 STps->eof = ST_NOEOF; in st_read()
2864 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2993 STps->eof = ST_EOD; in st_int_ioctl()
2995 STps->eof = ST_FM; in st_int_ioctl()
2997 STps->eof = ST_NOEOF; in st_int_ioctl()
3008 STps->eof = ST_EOM_OK; in st_int_ioctl()
3023 STps->eof = ST_NOEOF; in st_int_ioctl()
3028 STps->eof = ST_NOEOF; in st_int_ioctl()
3037 STps->eof = ST_NOEOF; in st_int_ioctl()
3044 STps->eof = ST_NOEOF; in st_int_ioctl()
3050 STps->eof = ST_FM; in st_int_ioctl()
3056 STps->eof = ST_NOEOF; in st_int_ioctl()
3068 STps->eof = ST_NOEOF; in st_int_ioctl()
3072 STps->eof = ST_EOD; in st_int_ioctl()
3087 STps->eof = ST_NOEOF; in st_int_ioctl()
3090 STps->eof = ST_EOD; in st_int_ioctl()
3233 STps->eof = ST_NOEOF; in set_location()
3568 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3779 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3781 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4359 STps->eof = ST_NOEOF; in st_probe()