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()
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()
2025 if (STps->eof != ST_FM_HIT) in read_tape()
2026 STps->eof = ST_FM_HIT; in read_tape()
2028 STps->eof = ST_EOD_2; in read_tape()
2038 if (STps->eof == ST_FM) in read_tape()
2039 STps->eof = ST_EOD_1; in read_tape()
2041 STps->eof = ST_EOM_OK; in read_tape()
2057 if (STps->eof == ST_FM && in read_tape()
2062 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2131 if (debugging && STps->eof != ST_NOEOF) in st_read()
2134 STps->eof, STbp->buffer_bytes); in st_read()
2143 STps->eof >= ST_EOD_1) { in st_read()
2144 if (STps->eof < ST_EOD) { in st_read()
2145 STps->eof += 1; in st_read()
2183 if (debugging && STps->eof != ST_NOEOF) in st_read()
2186 STps->eof, STbp->buffer_bytes, in st_read()
2210 if (STps->eof == ST_FM_HIT) { in st_read()
2211 STps->eof = ST_FM; in st_read()
2215 } else if (STps->eof == ST_EOD_1) { in st_read()
2216 STps->eof = ST_EOD_2; in st_read()
2220 } else if (STps->eof == ST_EOD_2) in st_read()
2221 STps->eof = ST_EOD; in st_read()
2222 } else if (STps->eof == ST_FM) in st_read()
2223 STps->eof = ST_NOEOF; in st_read()
2863 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2992 STps->eof = ST_EOD; in st_int_ioctl()
2994 STps->eof = ST_FM; in st_int_ioctl()
2996 STps->eof = ST_NOEOF; in st_int_ioctl()
3007 STps->eof = ST_EOM_OK; in st_int_ioctl()
3022 STps->eof = ST_NOEOF; in st_int_ioctl()
3027 STps->eof = ST_NOEOF; in st_int_ioctl()
3036 STps->eof = ST_NOEOF; in st_int_ioctl()
3043 STps->eof = ST_NOEOF; in st_int_ioctl()
3049 STps->eof = ST_FM; in st_int_ioctl()
3055 STps->eof = ST_NOEOF; in st_int_ioctl()
3067 STps->eof = ST_NOEOF; in st_int_ioctl()
3071 STps->eof = ST_EOD; in st_int_ioctl()
3086 STps->eof = ST_NOEOF; in st_int_ioctl()
3089 STps->eof = ST_EOD; in st_int_ioctl()
3232 STps->eof = ST_NOEOF; in set_location()
3567 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3778 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3780 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4331 STps->eof = ST_NOEOF; in st_probe()