Lines Matching refs:eof

861 		if (STps->eof == ST_FM_HIT) {  in flush_buffer()
864 STps->eof = ST_NOEOF; in flush_buffer()
873 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
877 STps->eof = ST_NOEOF; in flush_buffer()
944 STps->eof = ST_NOEOF; in reset_state()
1080 STps->eof = ST_NOEOF; in check_tape()
1409 STps->eof = ST_FM; in st_flush()
1426 else if (STps->eof == ST_FM_HIT) { in st_flush()
1432 STps->eof = ST_FM; in st_flush()
1434 STps->eof = ST_NOEOF; in st_flush()
1436 } else if ((STps->eof == ST_NOEOF && in st_flush()
1438 STps->eof == ST_FM_HIT) { in st_flush()
1442 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()
2865 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2994 STps->eof = ST_EOD; in st_int_ioctl()
2996 STps->eof = ST_FM; in st_int_ioctl()
2998 STps->eof = ST_NOEOF; in st_int_ioctl()
3009 STps->eof = ST_EOM_OK; in st_int_ioctl()
3024 STps->eof = ST_NOEOF; in st_int_ioctl()
3029 STps->eof = ST_NOEOF; in st_int_ioctl()
3038 STps->eof = ST_NOEOF; in st_int_ioctl()
3045 STps->eof = ST_NOEOF; in st_int_ioctl()
3051 STps->eof = ST_FM; in st_int_ioctl()
3057 STps->eof = ST_NOEOF; in st_int_ioctl()
3069 STps->eof = ST_NOEOF; in st_int_ioctl()
3073 STps->eof = ST_EOD; in st_int_ioctl()
3088 STps->eof = ST_NOEOF; in st_int_ioctl()
3091 STps->eof = ST_EOD; in st_int_ioctl()
3234 STps->eof = ST_NOEOF; in set_location()
3568 if (STps->eof == ST_FM_HIT) { in st_ioctl_common()
3779 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl_common()
3781 else if (STps->eof >= ST_EOM_OK) in st_ioctl_common()
4381 STps->eof = ST_NOEOF; in st_probe()