Lines Matching refs:eof

862 		if (STps->eof == ST_FM_HIT) {  in flush_buffer()
865 STps->eof = ST_NOEOF; in flush_buffer()
874 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
878 STps->eof = ST_NOEOF; in flush_buffer()
945 STps->eof = ST_NOEOF; in reset_state()
1081 STps->eof = ST_NOEOF; in check_tape()
1410 STps->eof = ST_FM; in st_flush()
1427 else if (STps->eof == ST_FM_HIT) { in st_flush()
1433 STps->eof = ST_FM; in st_flush()
1435 STps->eof = ST_NOEOF; in st_flush()
1437 } else if ((STps->eof == ST_NOEOF && in st_flush()
1439 STps->eof == ST_FM_HIT) { in st_flush()
1443 STps->eof = ST_FM; in st_flush()
1687 STps->eof = ST_EOM_OK; in st_write()
1689 STps->eof = ST_EOM_ERROR; in st_write()
1692 if (STps->eof == ST_EOM_OK) { in st_write()
1693 STps->eof = ST_EOD_1; /* allow next write */ in st_write()
1697 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1750 STm->do_async_writes && STps->eof < ST_EOM_OK; in st_write()
1753 !(STp->try_dio_now && try_wdio) && STps->eof < ST_EOM_OK && in st_write()
1814 STps->eof = ST_EOM_OK; in st_write()
1836 STps->eof = ST_EOM_OK; in st_write()
1848 STps->eof = ST_EOM_ERROR; in st_write()
1880 if (STps->eof == ST_EOD_1) in st_write()
1881 STps->eof = ST_EOM_OK; in st_write()
1882 else if (STps->eof != ST_EOM_OK) in st_write()
1883 STps->eof = ST_NOEOF; in st_write()
1917 if (STps->eof == ST_FM_HIT) in read_tape()
2027 if (STps->eof != ST_FM_HIT) in read_tape()
2028 STps->eof = ST_FM_HIT; in read_tape()
2030 STps->eof = ST_EOD_2; in read_tape()
2040 if (STps->eof == ST_FM) in read_tape()
2041 STps->eof = ST_EOD_1; in read_tape()
2043 STps->eof = ST_EOM_OK; in read_tape()
2059 if (STps->eof == ST_FM && in read_tape()
2064 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
2133 if (debugging && STps->eof != ST_NOEOF) in st_read()
2136 STps->eof, STbp->buffer_bytes); in st_read()
2145 STps->eof >= ST_EOD_1) { in st_read()
2146 if (STps->eof < ST_EOD) { in st_read()
2147 STps->eof += 1; in st_read()
2185 if (debugging && STps->eof != ST_NOEOF) in st_read()
2188 STps->eof, STbp->buffer_bytes, in st_read()
2212 if (STps->eof == ST_FM_HIT) { in st_read()
2213 STps->eof = ST_FM; in st_read()
2217 } else if (STps->eof == ST_EOD_1) { in st_read()
2218 STps->eof = ST_EOD_2; in st_read()
2222 } else if (STps->eof == ST_EOD_2) in st_read()
2223 STps->eof = ST_EOD; in st_read()
2224 } else if (STps->eof == ST_FM) in st_read()
2225 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()
3569 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3780 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3782 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
4333 STps->eof = ST_NOEOF; in st_probe()