Searched refs:ntrec (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 50 uint_t ntrec = 0; /* # tape blocks in each tape record */ variable 309 saved_ntrec = ntrec = atoi(*argv); in main() 310 if (ntrec == 0 || (ntrec&1) || ntrec > (MAXNTREC*2)) { in main() 317 ntrec /= (tp_bsize/DEV_BSIZE); in main() 554 ntrec = CARTRIDGETREC; in main() 556 ntrec = NTREC; in main() 558 ntrec = HIGHDENSITYTREC; in main() 560 ntrec = NTREC; in main() 564 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in main() 579 if (rmthost(host, ntrec) == 0) { in main() [all …]
|
H A D | dumptape.c | 223 writesize = ntrec * tp_bsize; in alloctape() 257 + (((size_t)sizeof (struct bdesc)) * NBUF * ntrec) 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() 1264 if (rmthost(rhost, ntrec) == 0) { in changevol() 2022 &bufp[(NBUF*ntrec)-1]; /* last buffer in pool */ in dowrite() [all …]
|
H A D | dump.h | 140 uint_t ntrec; /* 1K records per tape block */ variable
|
H A D | dumpoptr.c | 325 if (!force && blkswritten < 50 * ntrec)
|
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | tape.c | 89 ntrec = ((CARTRIDGETREC > HIGHDENSITYTREC) ? in setinput() 92 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in setinput() 94 newtapebuf(ntrec); in setinput() 115 if (rmthost(host, ntrec) == 0) in setinput() 164 ntrec = size; in newtapebuf() 260 ntrec = (tape_rec_size/tp_bsize); in setup() 261 numtrec = ntrec; in setup() 262 newtapebuf(ntrec); in setup() 1493 for (i = 0; i < ntrec; i++) in readtape() 1509 for (i = 0; i < ntrec; i++) in readtape() [all …]
|
H A D | main.c | 53 uint_t ntrec; /* blocking factor, in KB */ variable 299 saved_ntrec = ntrec = atoi(*argv++); in main() 300 if (ntrec == 0 || (ntrec&1)) { in main() 305 ntrec /= (tp_bsize/DEV_BSIZE); in main()
|
H A D | symtab.c | 570 uint_t ntrec; member 661 hdr.ntrec = ntrec; 783 newtapebuf(hdr.ntrec);
|
H A D | restore.h | 74 extern uint_t ntrec; /* number of tp_bsize records per tape block */
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 47 static uint_t ntrec; /* blocking factor on tape */ variable 129 ntrec = blocksize; in rmthost() 205 size = ntrec * tp_bsize; in rmtgetconn()
|