Lines Matching refs:trecno
64 static int trecno = 0; /* next record to write in current block */ variable
160 wp->req[trecno].dblk = (ufs2_daddr_t)0; in writerec()
161 wp->req[trecno].count = 1; in writerec()
166 trecno++; in writerec()
168 if (trecno >= ntrec) in writerec()
180 while ((avail = MIN(tpblks, ntrec - trecno)) > 0) { in dumpblock()
181 wp->req[trecno].dblk = dblkno; in dumpblock()
182 wp->req[trecno].count = avail; in dumpblock()
183 trecno += avail; in dumpblock()
185 if (trecno >= ntrec) in dumpblock()
230 wp->req[trecno].count = 0; /* Sentinel */ in flushtape()
289 trecno = 0; in flushtape()
433 trecno = 0; in rollforward()
475 trecno = 1; in rollforward()
783 for (trecno = 0; trecno < ntrec; in worker()
784 trecno += p->count, p += p->count) { in worker()
786 blkread(p->dblk, wp->tblock[trecno], in worker()
790 (void *)wp->tblock[trecno], in worker()