Lines Matching refs:tfile
49 short tfile = -1; /* ditto */
213 (void)lseek(tfile, (long) blocks[b] * BUFSIZE, 0);
216 if (read(tfile, (char *) dot, i) != i) {
489 tfile = bestfd;
491 (void)lseek(tfile, 0l, 0);
497 if (read(tfile, (char *) &H, sizeof H) == sizeof H)
549 bestfd = dup(tfile);
558 (void)close(tfile);
572 tfile = open(name, 2);
573 if (tfile < 0)
575 if (read(tfile, (char *) &H, sizeof H) != sizeof H) {
577 (void)close(tfile);
588 (void)lseek(tfile, (long)(BUFSIZE*HBLKS-8), 0);
589 (void)write(tfile, "LOST", 5);
616 (void)fstat64(tfile, &stbuf);
630 (void)lseek(tfile, (long) BUFSIZE * bno, 0);
631 cnt = read(tfile, (char *) bk, BUFSIZE);
811 lseek(tfile, (long) (unsigned) b * BUFSIZE, 0);
812 if ((rc =(*iofcn)(tfile, buf, BUFSIZE)) != BUFSIZE) {