Searched refs:mtget (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/cmd/rmt/ |
H A D | rmt.c | 53 static struct mtget mtget; variable 294 rval = (offset_t)ioctl(tape, MTIOCGET, (char *)&mtget); in main() 306 (offset_t)mtget.mt_type, in main() 311 (offset_t)mtget.mt_dsreg, in main() 316 (offset_t)mtget.mt_erreg, in main() 321 (offset_t)mtget.mt_resid, in main() 326 (offset_t)mtget.mt_fileno, in main() 331 (offset_t)mtget.mt_blkno, in main() 336 (offset_t)mtget.mt_flags, in main() 340 respond((offset_t)mtget.mt_bf, in main() [all …]
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 55 static int rmtstatus_extended(struct mtget *); 233 struct mtget mt; in rmtopen() 275 rmtstatus(struct mtget *mt) in rmtstatus() 290 sizeof (struct mtget), n); in rmtstatus() 306 rmtstatus_extended(struct mtget *mt) in rmtstatus_extended()
|
/titanic_41/usr/src/cmd/backup/include/ |
H A D | rmt.h | 43 extern int rmtstatus(struct mtget *);
|
/titanic_41/usr/src/cmd/mt/ |
H A D | mt.c | 49 static int status(int mtfd, struct mtget *); 97 struct mtget mt_status; in main() 348 status(int mtfd, struct mtget *bp) in status()
|
/titanic_41/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tape.c | 279 struct mtget mtstatus; in ndmpd_tape_get_state_v2() 357 struct mtget mtstatus; in ndmpd_tape_mtio_v2() 612 struct mtget mtstatus; in ndmpd_tape_get_state_v3() 686 struct mtget mtstatus; in tape_is_at_bot() 706 struct mtget mtstatus; in tape_is_at_bof() 966 struct mtget mtstatus; in ndmpd_tape_get_state_v4()
|
H A D | ndmpd_mover.c | 3486 struct mtget mtstatus; in mover_tape_write_v3()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | mtio.h | 102 struct mtget { struct
|
/titanic_41/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 4975 struct mtget mtg_local; in st_ioctl() 4976 struct mtget *mtget = &mtg_local; in st_ioctl() local 4980 bzero((caddr_t)mtget, sizeof (struct mtget)); in st_ioctl() 4981 mtget->mt_erreg = un->un_status; in st_ioctl() 4982 mtget->mt_resid = un->un_err_resid; in st_ioctl() 4983 mtget->mt_dsreg = un->un_retry_ct; in st_ioctl() 4985 mtget->mt_fileno = un->un_err_pos.fileno; in st_ioctl() 4987 mtget->mt_fileno = -1; in st_ioctl() 4995 mtget->mt_blkno = un->un_err_pos.blkno; in st_ioctl() 4997 mtget->mt_blkno = INF + 1 - (-un->un_err_pos.blkno); in st_ioctl() [all …]
|
/titanic_41/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1377 static struct mtget mt; in otape() 2395 static struct mtget mt; in positiontape()
|
/titanic_41/usr/src/cmd/tar/ |
H A D | tar.c | 6173 struct mtget mtg; in istape()
|
/titanic_41/usr/src/cmd/cpio/ |
H A D | cpio.c | 7987 struct mtget stuff; in is_tape()
|