Lines Matching refs:ntrec
223 writesize = ntrec * tp_bsize; in alloctape()
257 + (((size_t)sizeof (struct bdesc)) * NBUF * ntrec) in alloctape()
286 current = (struct bdesc **)&bufp[NBUF*ntrec]; in alloctape()
299 for (i = 0, j = 0; i < NBUF * ntrec; i++, j += tp_bsize) { in alloctape()
367 for (i = 0, bp = bufp; i < NBUF * ntrec; i++, bp++) in bufclear()
377 (*current < &bufp[0] || *current > &bufp[NBUF*ntrec])) { in bufclear()
381 *current, &bufp[0], &bufp[NBUF*ntrec]); in bufclear()
700 if (++*current >= &bufp[NBUF*ntrec]) in taprec()
1264 if (rmthost(rhost, ntrec) == 0) { in changevol()
2022 &bufp[(NBUF*ntrec)-1]; /* last buffer in pool */ in dowrite()
2025 struct bdesc *end = bufp + (ntrec-1); /* last buf of tape block */ in dowrite()
2206 if (trecs < ntrec || in dowrite()
2221 if (end + ntrec > last) { in dowrite()
2226 end = begin + (ntrec-1); in dowrite()
2247 if (++bp >= &bufp[NBUF*ntrec]) in checkpoint()