Lines Matching refs:eof

859 		if (STps->eof == ST_FM_HIT) {  in flush_buffer()
862 STps->eof = ST_NOEOF; in flush_buffer()
871 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
875 STps->eof = ST_NOEOF; in flush_buffer()
942 STps->eof = ST_NOEOF; in reset_state()
1078 STps->eof = ST_NOEOF; in check_tape()
1407 STps->eof = ST_FM; in st_flush()
1424 else if (STps->eof == ST_FM_HIT) { in st_flush()
1430 STps->eof = ST_FM; in st_flush()
1432 STps->eof = ST_NOEOF; in st_flush()
1434 } else if ((STps->eof == ST_NOEOF && in st_flush()
1436 STps->eof == ST_FM_HIT) { in st_flush()
1440 STps->eof = ST_FM; in st_flush()
1685 STps->eof = ST_EOM_OK; in st_write()
1687 STps->eof = ST_EOM_ERROR; in st_write()
1690 if (STps->eof == ST_EOM_OK) { in st_write()
1691 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1695 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1748 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1751 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1812 STps->eof = ST_EOM_OK; in st_write()
1834 STps->eof = ST_EOM_OK; in st_write()
1846 STps->eof = ST_EOM_ERROR; in st_write()
1878 if (STps->eof == ST_EOD_1) in st_write()
1879 STps->eof = ST_EOM_OK; in st_write()
1880 else if (STps->eof != ST_EOM_OK) in st_write()
1881 STps->eof = ST_NOEOF; in st_write()
1915 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()
3469 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3675 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3677 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4255 STps->eof = ST_NOEOF; in st_probe()