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