Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c89 uint_t ntrec = 0; /* # tape blocks in each tape record */ variable
348 saved_ntrec = ntrec = atoi(*argv); in main()
349 if (ntrec == 0 || (ntrec&1) || ntrec > (MAXNTREC*2)) { in main()
356 ntrec /= (tp_bsize/DEV_BSIZE); in main()
593 ntrec = CARTRIDGETREC; in main()
595 ntrec = NTREC; in main()
597 ntrec = HIGHDENSITYTREC; in main()
599 ntrec = NTREC; in main()
603 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in main()
618 if (rmthost(host, ntrec) == 0) { in main()
[all …]
H A Ddumptape.c196 writesize = ntrec * tp_bsize; in alloctape()
230 + (((size_t)sizeof (struct bdesc)) * NBUF * ntrec) in alloctape()
259 current = (struct bdesc **)&bufp[NBUF*ntrec]; in alloctape()
272 for (i = 0, j = 0; i < NBUF * ntrec; i++, j += tp_bsize) { in alloctape()
328 for (i = 0, bp = bufp; i < NBUF * ntrec; i++, bp++) in bufclear()
338 (*current < &bufp[0] || *current > &bufp[NBUF*ntrec])) { in bufclear()
342 *current, &bufp[0], &bufp[NBUF*ntrec]); in bufclear()
657 if (++*current >= &bufp[NBUF*ntrec]) in taprec()
1190 if (rmthost(rhost, ntrec) == 0) { in changevol()
1933 &bufp[(NBUF*ntrec)-1]; /* last buffer in pool */ in dowrite()
[all …]
H A Ddump.h140 extern uint_t ntrec; /* 1K records per tape block */
H A Ddumpoptr.c307 if (!force && blkswritten < 50 * ntrec) in timeest()
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c90 ntrec = ((CARTRIDGETREC > HIGHDENSITYTREC) ? in setinput()
93 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in setinput()
95 newtapebuf(ntrec); in setinput()
116 if (rmthost(host, ntrec) == 0) in setinput()
165 ntrec = size; in newtapebuf()
261 ntrec = (tape_rec_size/tp_bsize); in setup()
262 numtrec = ntrec; in setup()
263 newtapebuf(ntrec); in setup()
1490 for (i = 0; i < ntrec; i++) in readtape()
1506 for (i = 0; i < ntrec; i++) in readtape()
[all …]
H A Dmain.c51 uint_t ntrec; /* blocking factor, in KB */ variable
297 saved_ntrec = ntrec = atoi(*argv++); in main()
298 if (ntrec == 0 || (ntrec&1)) { in main()
303 ntrec /= (tp_bsize/DEV_BSIZE); in main()
H A Dsymtab.c546 uint_t ntrec; member
635 hdr.ntrec = ntrec; in dumpsymtable()
764 newtapebuf(hdr.ntrec); in initsymtable()
H A Drestore.h72 extern uint_t ntrec; /* number of tp_bsize records per tape block */
/illumos-gate/usr/src/cmd/backup/lib/
H A Drmtlib.c44 static uint_t ntrec; /* blocking factor on tape */ variable
126 ntrec = blocksize; in rmthost()
202 size = ntrec * tp_bsize; in rmtgetconn()