Lines Matching refs:ntrec
196 writesize = ntrec * tp_bsize; in alloctape()
230 + (((size_t)sizeof (struct bdesc)) * NBUF * ntrec) in alloctape()
259 current = (struct bdesc **)&bufp[NBUF*ntrec]; in alloctape()
272 for (i = 0, j = 0; i < NBUF * ntrec; i++, j += tp_bsize) { in alloctape()
328 for (i = 0, bp = bufp; i < NBUF * ntrec; i++, bp++) in bufclear()
338 (*current < &bufp[0] || *current > &bufp[NBUF*ntrec])) { in bufclear()
342 *current, &bufp[0], &bufp[NBUF*ntrec]); in bufclear()
657 if (++*current >= &bufp[NBUF*ntrec]) in taprec()
1190 if (rmthost(rhost, ntrec) == 0) { in changevol()
1933 &bufp[(NBUF*ntrec)-1]; /* last buffer in pool */ in dowrite()
1936 struct bdesc *end = bufp + (ntrec-1); /* last buf of tape block */ in dowrite()
2116 if (trecs < ntrec || in dowrite()
2131 if (end + ntrec > last) { in dowrite()
2136 end = begin + (ntrec-1); in dowrite()
2157 if (++bp >= &bufp[NBUF*ntrec]) in checkpoint()