Home | History | Annotate | Download | only in restore

Lines Matching defs:mt

77 static int	mt = -1;
299 mt = rmtopen(magtape, 0, 0);
303 mt = 0;
305 mt = open(magtape, O_RDONLY, 0);
306 if (mt < 0) {
469 mt = rmtopen(magtape, 0, 0);
472 mt = open(magtape, O_RDONLY, 0);
474 if (mt == -1) {
594 if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0)
1291 i = read(mt, &tapebuf[rd], cnt);
1352 seek_failed = (lseek(mt, i, SEEK_CUR) == (off_t)-1);
1398 i = read(mt, tapebuf, ntrec * TP_BSIZE);
1419 if (mt < 0)
1426 (void) close(mt);