Lines Matching refs:eof
856 if (STps->eof == ST_FM_HIT) { in flush_buffer()
859 STps->eof = ST_NOEOF; in flush_buffer()
868 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
872 STps->eof = ST_NOEOF; in flush_buffer()
939 STps->eof = ST_NOEOF; in reset_state()
1075 STps->eof = ST_NOEOF; in check_tape()
1404 STps->eof = ST_FM; in st_flush()
1421 else if (STps->eof == ST_FM_HIT) { in st_flush()
1427 STps->eof = ST_FM; in st_flush()
1429 STps->eof = ST_NOEOF; in st_flush()
1431 } else if ((STps->eof == ST_NOEOF && in st_flush()
1433 STps->eof == ST_FM_HIT) { in st_flush()
1437 STps->eof = ST_FM; in st_flush()
1681 STps->eof = ST_EOM_OK; in st_write()
1683 STps->eof = ST_EOM_ERROR; in st_write()
1686 if (STps->eof == ST_EOM_OK) { in st_write()
1687 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1691 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1744 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1747 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1808 STps->eof = ST_EOM_OK; in st_write()
1830 STps->eof = ST_EOM_OK; in st_write()
1842 STps->eof = ST_EOM_ERROR; in st_write()
1874 if (STps->eof == ST_EOD_1) in st_write()
1875 STps->eof = ST_EOM_OK; in st_write()
1876 else if (STps->eof != ST_EOM_OK) in st_write()
1877 STps->eof = ST_NOEOF; in st_write()
1911 if (STps->eof == ST_FM_HIT) in read_tape()
2021 if (STps->eof != ST_FM_HIT) in read_tape()
2022 STps->eof = ST_FM_HIT; in read_tape()
2024 STps->eof = ST_EOD_2; in read_tape()
2034 if (STps->eof == ST_FM) in read_tape()
2035 STps->eof = ST_EOD_1; in read_tape()
2037 STps->eof = ST_EOM_OK; in read_tape()
2053 if (STps->eof == ST_FM && in read_tape()
2058 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2127 if (debugging && STps->eof != ST_NOEOF) in st_read()
2130 STps->eof, STbp->buffer_bytes); in st_read()
2139 STps->eof >= ST_EOD_1) { in st_read()
2140 if (STps->eof < ST_EOD) { in st_read()
2141 STps->eof += 1; in st_read()
2179 if (debugging && STps->eof != ST_NOEOF) in st_read()
2182 STps->eof, STbp->buffer_bytes, in st_read()
2206 if (STps->eof == ST_FM_HIT) { in st_read()
2207 STps->eof = ST_FM; in st_read()
2211 } else if (STps->eof == ST_EOD_1) { in st_read()
2212 STps->eof = ST_EOD_2; in st_read()
2216 } else if (STps->eof == ST_EOD_2) in st_read()
2217 STps->eof = ST_EOD; in st_read()
2218 } else if (STps->eof == ST_FM) in st_read()
2219 STps->eof = ST_NOEOF; in st_read()
2859 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2988 STps->eof = ST_EOD; in st_int_ioctl()
2990 STps->eof = ST_FM; in st_int_ioctl()
2992 STps->eof = ST_NOEOF; in st_int_ioctl()
3003 STps->eof = ST_EOM_OK; in st_int_ioctl()
3018 STps->eof = ST_NOEOF; in st_int_ioctl()
3023 STps->eof = ST_NOEOF; in st_int_ioctl()
3032 STps->eof = ST_NOEOF; in st_int_ioctl()
3039 STps->eof = ST_NOEOF; in st_int_ioctl()
3045 STps->eof = ST_FM; in st_int_ioctl()
3051 STps->eof = ST_NOEOF; in st_int_ioctl()
3063 STps->eof = ST_NOEOF; in st_int_ioctl()
3067 STps->eof = ST_EOD; in st_int_ioctl()
3082 STps->eof = ST_NOEOF; in st_int_ioctl()
3085 STps->eof = ST_EOD; in st_int_ioctl()
3228 STps->eof = ST_NOEOF; in set_location()
3563 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3774 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3776 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4329 STps->eof = ST_NOEOF; in st_probe()