Lines Matching refs:mt
34 int mt = -1;
193 mt = open(archivefile, O_RDONLY|O_LARGEFILE);
194 if (mt < 0) {
200 if ((mt = rmtopen(magtape, O_RDONLY)) < 0) {
207 mt = 0;
208 else if ((mt = open(magtape, O_RDONLY|O_LARGEFILE)) < 0) {
554 if ((host != NULL && (mt = rmtopen(magtape, O_RDONLY)) == -1) ||
556 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) {
693 retval = ioctl(mt, (int)MTIOCTOP, (char *)&tcom);
1523 i = read(mt, &tbf[rd], cnt);
1587 (host == 0 && (lseek64(mt, (offset_t)i, 1) ==
1654 tape_rec_size = read(mt, tbf, ntrec * tp_bsize);
1694 if (mt < 0)
1705 while (read(mt, buffy, sizeof (buffy)) > 0) {
1709 (void) close(mt);
1716 (void) ioctl(mt, MTIOCTOP, &mtop);
1717 (void) ioctl(mt, FDEJECT, 0);
1718 (void) close(mt);
1720 mt = -1;
2102 (mt = rmtopen(magtape, O_RDONLY)) == -1) ||
2104 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) {