Home
last modified time | relevance | path

Searched refs:ntrec (Results 1 – 7 of 7) sorted by relevance

/mirbsd/src/sbin/dump/
Dtape.c70 extern int ntrec; /* blocking factor on tape */
127 writesize = ntrec * TP_BSIZE; in alloctape()
128 reqsiz = (ntrec + 1) * sizeof(struct req); in alloctape()
149 (((long)&buf[ntrec + 1] + pgoff) &~ pgoff); in alloctape()
150 slaves[i].req = (struct req *)slaves[i].tblock - ntrec - 1; in alloctape()
171 if (trecno >= ntrec) in writerec()
182 while ((avail = MIN(tpblks, ntrec - trecno)) > 0) { in dumpblock()
187 if (trecno >= ntrec) in dumpblock()
342 slp->firstrec = lastfirstrec + ntrec; in flushtape()
347 blockswritten += ntrec; in flushtape()
[all …]
Dmain.c87 int ntrec = NTREC; /* # tape blocks in each tape record */ variable
144 ntrec = numarg("blocks per write", 1L, 1000L); in main()
145 if (ntrec > maxbsize/1024) { in main()
160 ntrec = HIGHDENSITYTREC; in main()
292 blocksperfile = blocksperfile / ntrec * ntrec; /* round down */ in main()
459 * (1.0/ntrec) /* streaming-stops per block */ in main()
472 * (1.0/ntrec) /* IRG's / block */ in main()
536 for (i = 0; i < ntrec; i++) in main()
Ddumprmt.c88 extern int ntrec; /* blocking factor on tape */
150 size = ntrec * TP_BSIZE; in rmtgetconn()
/mirbsd/src/sbin/restore/
Dtape.c91 #define FLUSHTAPEBUF() blkcnt = ntrec + 1
117 newtapebuf(ntrec); in setinput()
153 ntrec = size; in newtapebuf()
788 for (i = 0; i < ntrec; i++) in readtape()
791 numtrec = ntrec; in readtape()
792 cnt = ntrec * TP_BSIZE; in readtape()
805 if (!pipein && numtrec < ntrec && i > 0) { in readtape()
807 numtrec = ntrec; in readtape()
814 else if (i > 0 && i != ntrec * TP_BSIZE) { in readtape()
828 i, ntrec * TP_BSIZE); in readtape()
[all …]
Dmain.c70 long ntrec; variable
111 ntrec = strtol(optarg, &p, 10); in main()
114 if (ntrec <= 0) in main()
Dsymtab.c432 int32_t ntrec; member
510 hdr.ntrec = ntrec; in dumpsymtable()
581 newtapebuf(hdr.ntrec); in initsymtable()
Drestore.h59 extern long ntrec; /* number of TP_BSIZE records per tape block */