Lines Matching refs:eof
857 if (STps->eof == ST_FM_HIT) { in flush_buffer()
860 STps->eof = ST_NOEOF; in flush_buffer()
869 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
873 STps->eof = ST_NOEOF; in flush_buffer()
940 STps->eof = ST_NOEOF; in reset_state()
1076 STps->eof = ST_NOEOF; in check_tape()
1405 STps->eof = ST_FM; in st_flush()
1422 else if (STps->eof == ST_FM_HIT) { in st_flush()
1428 STps->eof = ST_FM; in st_flush()
1430 STps->eof = ST_NOEOF; in st_flush()
1432 } else if ((STps->eof == ST_NOEOF && in st_flush()
1434 STps->eof == ST_FM_HIT) { in st_flush()
1438 STps->eof = ST_FM; in st_flush()
1682 STps->eof = ST_EOM_OK; in st_write()
1684 STps->eof = ST_EOM_ERROR; in st_write()
1687 if (STps->eof == ST_EOM_OK) { in st_write()
1688 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1692 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1745 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1748 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1809 STps->eof = ST_EOM_OK; in st_write()
1831 STps->eof = ST_EOM_OK; in st_write()
1843 STps->eof = ST_EOM_ERROR; in st_write()
1875 if (STps->eof == ST_EOD_1) in st_write()
1876 STps->eof = ST_EOM_OK; in st_write()
1877 else if (STps->eof != ST_EOM_OK) in st_write()
1878 STps->eof = ST_NOEOF; in st_write()
1912 if (STps->eof == ST_FM_HIT) in read_tape()
2022 if (STps->eof != ST_FM_HIT) in read_tape()
2023 STps->eof = ST_FM_HIT; in read_tape()
2025 STps->eof = ST_EOD_2; in read_tape()
2035 if (STps->eof == ST_FM) in read_tape()
2036 STps->eof = ST_EOD_1; in read_tape()
2038 STps->eof = ST_EOM_OK; in read_tape()
2054 if (STps->eof == ST_FM && in read_tape()
2059 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2128 if (debugging && STps->eof != ST_NOEOF) in st_read()
2131 STps->eof, STbp->buffer_bytes); in st_read()
2140 STps->eof >= ST_EOD_1) { in st_read()
2141 if (STps->eof < ST_EOD) { in st_read()
2142 STps->eof += 1; in st_read()
2180 if (debugging && STps->eof != ST_NOEOF) in st_read()
2183 STps->eof, STbp->buffer_bytes, in st_read()
2207 if (STps->eof == ST_FM_HIT) { in st_read()
2208 STps->eof = ST_FM; in st_read()
2212 } else if (STps->eof == ST_EOD_1) { in st_read()
2213 STps->eof = ST_EOD_2; in st_read()
2217 } else if (STps->eof == ST_EOD_2) in st_read()
2218 STps->eof = ST_EOD; in st_read()
2219 } else if (STps->eof == ST_FM) in st_read()
2220 STps->eof = ST_NOEOF; in st_read()
2860 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2989 STps->eof = ST_EOD; in st_int_ioctl()
2991 STps->eof = ST_FM; in st_int_ioctl()
2993 STps->eof = ST_NOEOF; in st_int_ioctl()
3004 STps->eof = ST_EOM_OK; in st_int_ioctl()
3019 STps->eof = ST_NOEOF; in st_int_ioctl()
3024 STps->eof = ST_NOEOF; in st_int_ioctl()
3033 STps->eof = ST_NOEOF; in st_int_ioctl()
3040 STps->eof = ST_NOEOF; in st_int_ioctl()
3046 STps->eof = ST_FM; in st_int_ioctl()
3052 STps->eof = ST_NOEOF; in st_int_ioctl()
3064 STps->eof = ST_NOEOF; in st_int_ioctl()
3068 STps->eof = ST_EOD; in st_int_ioctl()
3083 STps->eof = ST_NOEOF; in st_int_ioctl()
3086 STps->eof = ST_EOD; in st_int_ioctl()
3229 STps->eof = ST_NOEOF; in set_location()
3564 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3775 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3777 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4330 STps->eof = ST_NOEOF; in st_probe()