Searched refs:mt_status (Results 1 – 1 of 1) sorted by relevance
97 struct mtget mt_status; in main() local175 (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()[all …]