Home
last modified time | relevance | path

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

/freebsd-14-stable/sbin/dump/
HDtape.c129 writesize = ntrec * TP_BSIZE; in alloctape()
130 reqsiz = (ntrec + 1) * sizeof(struct req); in alloctape()
151 (((long)&buf[ntrec + 1] + pgoff) &~ pgoff); in alloctape()
152 workers[i].req = (struct req *)workers[i].tblock - ntrec - 1; in alloctape()
174 if (trecno >= ntrec) in writerec()
186 while ((avail = MIN(tpblks, ntrec - trecno)) > 0) { in dumpblock()
191 if (trecno >= ntrec) in dumpblock()
292 wp->firstrec = lastfirstrec + ntrec; in flushtape()
297 blockswritten += ntrec; in flushtape()
298 blocksthisvol += ntrec; in flushtape()
[all …]
HDmain.c98 int ntrec = NTREC; /* # tape blocks in each tape record */ variable
165 ntrec = numarg("number of blocks per write", in main()
184 ntrec = HIGHDENSITYTREC; in main()
290 blocksperfile = rounddown(blocksperfile, ntrec); in main()
515 * (1.0/ntrec) /* streaming-stops per block */ in main()
528 * (1.0/ntrec) /* IRG's / block */ in main()
601 for (i = 0; i < ntrec; i++) in main()
HDdump.h79 extern int ntrec; /* blocking factor on tape */
HDdumprmt.c165 size = ntrec * TP_BSIZE; in rmtgetconn()
/freebsd-14-stable/sbin/restore/
HDtape.c100 #define FLUSHTAPEBUF() blkcnt = ntrec + 1
133 newtapebuf(ntrec); in setinput()
185 ntrec = size; in newtapebuf()
1141 for (i = 0; i < ntrec; i++) in readtape()
1144 numtrec = ntrec; in readtape()
1145 cnt = ntrec * TP_BSIZE; in readtape()
1158 if (!pipein && !pipecmdin && numtrec < ntrec && i > 0) { in readtape()
1160 numtrec = ntrec; in readtape()
1167 else if (i > 0 && i != ntrec * TP_BSIZE) { in readtape()
1181 i, ntrec * TP_BSIZE); in readtape()
[all …]
HDmain.c70 long ntrec; variable
105 ntrec = strtol(optarg, &p, 10); in main()
108 if (ntrec <= 0) in main()
HDsymtab.c431 int32_t ntrec; member
510 hdr.ntrec = ntrec; in dumpsymtable()
585 newtapebuf(hdr.ntrec); in initsymtable()
HDrestore.h59 extern long ntrec; /* number of TP_BSIZE records per tape block */