Lines Matching refs:mt_status
97 struct mtget mt_status; in main() local
175 (void) ioctl(mtfd, MTIOCGET, (char *)&mt_status); in main()
176 if (ioctl(mtfd, MTIOCGET, (char *)&mt_status) < 0) { in main()
187 if ((mt_status.mt_flags & MTF_ASF) == 0 || in main()
188 (mt_status.mt_fileno == -1)) { in main()
199 mt_status.mt_fileno = 0; in main()
200 mt_status.mt_blkno = 0; in main()
202 if (mt_fileno < mt_status.mt_fileno) { in main()
204 mt_com.mt_count = mt_status.mt_fileno - mt_fileno; in main()
208 mt_com.mt_count = mt_fileno - mt_status.mt_fileno; in main()
255 if (ioctl(mtfd, MTIOCGET, (char *)&mt_status) < 0) { in main()
259 return (status(mtfd, &mt_status)); in main()