Home
last modified time | relevance | path

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

/freebsd/sbin/dump/
H A Dtape.c123 writesize = ntrec * TP_BSIZE; in alloctape()
124 reqsiz = (ntrec + 1) * sizeof(struct req); in alloctape()
145 (((long)&buf[ntrec + 1] + pgoff) &~ pgoff); in alloctape()
146 workers[i].req = (struct req *)workers[i].tblock - ntrec - 1; in alloctape()
168 if (trecno >= ntrec) in writerec()
180 while ((avail = MIN(tpblks, ntrec - trecno)) > 0) { in dumpblock()
185 if (trecno >= ntrec) in dumpblock()
286 wp->firstrec = lastfirstrec + ntrec; in flushtape()
291 blockswritten += ntrec; in flushtape()
292 blocksthisvol += ntrec; in flushtape()
[all …]
H A Dmain.c86 int ntrec = NTREC; /* # tape blocks in each tape record */ variable
153 ntrec = numarg("number of blocks per write", in main()
172 ntrec = HIGHDENSITYTREC; in main()
278 blocksperfile = rounddown(blocksperfile, ntrec); in main()
503 * (1.0/ntrec) /* streaming-stops per block */ in main()
516 * (1.0/ntrec) /* IRG's / block */ in main()
589 for (i = 0; i < ntrec; i++) in main()
H A Ddump.h77 extern int ntrec; /* blocking factor on tape */
H A Ddumprmt.c159 size = ntrec * TP_BSIZE; in rmtgetconn()
/freebsd/sbin/restore/
H A Dtape.c94 #define FLUSHTAPEBUF() blkcnt = ntrec + 1
127 newtapebuf(ntrec); in setinput()
179 ntrec = size; in newtapebuf()
1135 for (i = 0; i < ntrec; i++) in readtape()
1138 numtrec = ntrec; in readtape()
1139 cnt = ntrec * TP_BSIZE; in readtape()
1152 if (!pipein && !pipecmdin && numtrec < ntrec && i > 0) { in readtape()
1154 numtrec = ntrec; in readtape()
1161 else if (i > 0 && i != ntrec * TP_BSIZE) { in readtape()
1175 i, ntrec * TP_BSIZ in readtape()
[all...]
H A Dmain.c57 long ntrec; variable
92 ntrec = strtol(optarg, &p, 10); in main()
95 if (ntrec <= 0) in main()
H A Dsymtab.c425 int32_t ntrec; member
504 hdr.ntrec = ntrec; in dumpsymtable()
579 newtapebuf(hdr.ntrec); in initsymtable()
H A Drestore.h57 extern long ntrec; /* number of TP_BSIZE records per tape block */