Searched refs:mtget (Results 1 - 11 of 11) sorted by relevance
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | mtio.h | 69 struct mtget { struct 136 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
|
/netbsd-6-1-5-RELEASE/usr.sbin/rmt/ |
H A D | rmt.c | 183 struct mtget mtget; local 185 if (ioctl(tape, MTIOCGET, (char *)&mtget) < 0) 187 rval = sizeof (mtget); 188 /* limit size to 'original' mtget size */ 193 (void)write(STDOUT_FILENO, (char *)&mtget, rval);
|
/netbsd-6-1-5-RELEASE/bin/mt/ |
H A D | mt.c | 108 static void status(struct mtget *); 115 struct mtget mt_status; 173 /* If mtget.mt_fileno was implemented, We could 259 status(struct mtget *bp)
|
/netbsd-6-1-5-RELEASE/sys/dev/qbus/ |
H A D | ts.c | 931 struct mtget *mtget; /* mag tape struct to get info in */ local 1008 mtget = (struct mtget *)data; 1009 mtget->mt_type = MT_ISTS; 1010 mtget->mt_dsreg = TS_RCSR(TSSR); 1011 mtget->mt_erreg = sc->sc_vts->status.xst0; 1012 mtget->mt_resid = 0; /* ??? */ 1013 mtget->mt_density = 0; /* ??? */
|
/netbsd-6-1-5-RELEASE/sbin/dump/ |
H A D | dumprmt.c | 263 struct mtget * 266 struct mtget mts;
|
/netbsd-6-1-5-RELEASE/sys/dev/isa/ |
H A D | wt.c | 482 * ioctl(int fd, MTIOCGET, struct mtget *buf) -- get status 528 ((struct mtget*)addr)->mt_type = 530 ((struct mtget*)addr)->mt_dsreg = sc->flags; /* status */ 531 ((struct mtget*)addr)->mt_erreg = sc->error; /* errors */ 532 ((struct mtget*)addr)->mt_resid = 0; 533 ((struct mtget*)addr)->mt_fileno = 0; /* file */ 534 ((struct mtget*)addr)->mt_blkno = 0; /* block */
|
/netbsd-6-1-5-RELEASE/lib/librmt/ |
H A D | rmtlib.c | 534 memset(arg, 0, sizeof(struct mtget)); 550 if (((struct mtget *)(void *)p)->mt_type < 256)
|
/netbsd-6-1-5-RELEASE/bin/dd/ |
H A D | dd.c | 283 struct mtget mt;
|
/netbsd-6-1-5-RELEASE/sys/dev/mscp/ |
H A D | mscp_tape.c | 418 ((struct mtget *)data)->mt_type = MT_ISTMSCP;
|
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | st.c | 1338 struct mtget *g = (struct mtget *) arg; 1353 memset(g, 0, sizeof(struct mtget));
|
/netbsd-6-1-5-RELEASE/bin/pax/ |
H A D | ar_io.c | 133 struct mtget mb;
|
Completed in 128 milliseconds