Searched refs:NBUF (Results 1 – 4 of 4) sorted by relevance
253 (NBUF * writesize) /* output buffers */ in alloctape()257 + (((size_t)sizeof (struct bdesc)) * NBUF * ntrec) in alloctape()282 bufp = (struct bdesc *)(obuf + NBUF*writesize); 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()2022 &bufp[(NBUF*ntrec)-1]; /* last buffer in pool */ in dowrite()[all …]
222 #define NBUF 64 /* number of output buffers */ macro
235 #define NBUF 10 macro242 } lbuf[NBUF], bhdr;259 addr = malloc(NBUF * udh->udfs.lbsize); in init_buffers()261 for (i = 0; i < NBUF; i++) { in init_buffers()
108 #define NBUF 10 /* number of cache buffers */ macro182 } lbuf[NBUF], bhdr;621 buffers = malloc(NBUF * BLKSIZE); in main()623 for (i = 0; i < NBUF; i++) { in main()