Home
last modified time | relevance | path

Searched refs:mt_status (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/mt/
H A Dmt.c97 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()
[all …]