Lines Matching refs:eof
589 if (STps->eof == ST_FM_HIT) { in flush_buffer()
592 STps->eof = ST_NOEOF; in flush_buffer()
601 } else if (STps->eof == ST_FM_HIT) { in flush_buffer()
605 STps->eof = ST_NOEOF; in flush_buffer()
769 STps->eof = ST_NOEOF; in check_tape()
1108 STps->eof = ST_FM; in st_flush()
1118 else if (STps->eof == ST_FM_HIT) { in st_flush()
1124 STps->eof = ST_FM; in st_flush()
1126 STps->eof = ST_NOEOF; in st_flush()
1128 } else if ((STps->eof == ST_NOEOF && in st_flush()
1130 STps->eof == ST_FM_HIT) { in st_flush()
1134 STps->eof = ST_FM; in st_flush()
1287 STps->eof = ST_EOM_OK; in st_write()
1289 STps->eof = ST_EOM_ERROR; in st_write()
1340 if (STps->eof == ST_EOM_OK) { in st_write()
1344 else if (STps->eof == ST_EOM_ERROR) { in st_write()
1448 STps->eof = ST_EOM_OK; in st_write()
1463 STps->eof = ST_EOM_OK; in st_write()
1471 STps->eof = ST_EOM_ERROR; in st_write()
1543 STps->eof = ST_NOEOF; in st_write()
1573 if (STps->eof == ST_FM_HIT) in read_tape()
1669 if (STps->eof != ST_FM_HIT) in read_tape()
1670 STps->eof = ST_FM_HIT; in read_tape()
1672 STps->eof = ST_EOD_2; in read_tape()
1682 if (STps->eof == ST_FM) in read_tape()
1683 STps->eof = ST_EOD_1; in read_tape()
1685 STps->eof = ST_EOM_OK; in read_tape()
1701 if (STps->eof == ST_FM && in read_tape()
1706 STps->eof = ST_EOD_2; /* First BLANK_CHECK after FM */ in read_tape()
1836 if (debugging && STps->eof != ST_NOEOF) in st_read()
1838 STps->eof, (STp->buffer)->buffer_bytes); in st_read()
1842 STps->eof >= ST_EOD_1) { in st_read()
1843 if (STps->eof < ST_EOD) { in st_read()
1844 STps->eof += 1; in st_read()
1880 if (debugging && STps->eof != ST_NOEOF) in st_read()
1883 STps->eof, (STp->buffer)->buffer_bytes, in st_read()
1906 if (STps->eof == ST_FM_HIT) { in st_read()
1907 STps->eof = ST_FM; in st_read()
1911 } else if (STps->eof == ST_EOD_1) { in st_read()
1912 STps->eof = ST_EOD_2; in st_read()
1916 } else if (STps->eof == ST_EOD_2) in st_read()
1917 STps->eof = ST_EOD; in st_read()
1918 } else if (STps->eof == ST_FM) in st_read()
1919 STps->eof = ST_NOEOF; in st_read()
2519 if (STps->eof >= ST_EOD_1) in st_int_ioctl()
2665 STps->eof = ST_EOD; in st_int_ioctl()
2667 STps->eof = ST_FM; in st_int_ioctl()
2669 STps->eof = ST_NOEOF; in st_int_ioctl()
2677 STps->eof = ST_EOM_OK; in st_int_ioctl()
2694 STps->eof = ST_NOEOF; in st_int_ioctl()
2701 STps->eof = ST_NOEOF; in st_int_ioctl()
2708 STps->eof = ST_NOEOF; in st_int_ioctl()
2714 STps->eof = ST_FM; in st_int_ioctl()
2720 STps->eof = ST_NOEOF; in st_int_ioctl()
2732 STps->eof = ST_NOEOF; in st_int_ioctl()
2736 STps->eof = ST_EOD; in st_int_ioctl()
2751 STps->eof = ST_NOEOF; in st_int_ioctl()
2754 STps->eof = ST_EOD; in st_int_ioctl()
2901 STps->eof = ST_NOEOF; in set_location()
3149 if (STps->eof == ST_FM_HIT) { in st_ioctl()
3343 if (STps->eof == ST_EOM_OK || STps->eof == ST_EOM_ERROR) in st_ioctl()
3345 else if (STps->eof >= ST_EOM_OK) in st_ioctl()
3935 STps->eof = ST_NOEOF; in st_attach()