Searched refs:tp_bsize (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/cmd/backup/restore/ |
H A D | tape.c | 92 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in setinput() 163 nsize = size * tp_bsize; in newtapebuf() 253 tp_bsize = spcl.c_tpbsize; in setup() 254 if ((tp_bsize % TP_BSIZE_MIN != 0) || in setup() 255 (tp_bsize > TP_BSIZE_MAX)) { in setup() 260 ntrec = (tape_rec_size/tp_bsize); in setup() 277 ((tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC); in setup() 306 if (stbuf.st_blksize >= tp_bsize && stbuf.st_blksize <= MAXBSIZE) { in setup() 327 maxino = (unsigned)((spcl.c_count * tp_bsize * NBBY) + 1); in setup() 397 if (stbuf.st_blksize >= tp_bsize && stbuf.st_blksize <= MAXBSIZE) { in setupR() [all …]
|
H A D | main.c | 71 int32_t tp_bsize = TP_BSIZE_MIN; variable 305 ntrec /= (tp_bsize/DEV_BSIZE); in main()
|
/titanic_50/usr/src/cmd/backup/dump/ |
H A D | dumptraverse.c | 515 u_offset_t tbperfsb = (unsigned)(sblock->fs_bsize / tp_bsize); 534 bytepos = (offset_t)pos * tp_bsize; 538 loffset += (u_offset_t)tp_bsize * 540 d_howmany(bytes, (u_offset_t)tp_bsize); 551 tpblkskip = d_howmany(diff, (u_offset_t)tp_bsize); 560 (u_offset_t)(unsigned)tp_bsize); 570 if (bytes < TP_NINDIR*tp_bsize) 572 count = d_howmany(bytes, (u_offset_t)tp_bsize); 577 bytes -= (tpblkskip * (u_offset_t)tp_bsize); 581 bytes -= (offset_t)TP_NINDIR*tp_bsize; [all …]
|
H A D | dumpmain.c | 58 int32_t tp_bsize = TP_BSIZE_MIN; /* tape block record size (frag size) */ variable 317 ntrec /= (tp_bsize/DEV_BSIZE); in main() 564 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in main() 908 * (tp_bsize /* bytes/block */ in main() 925 * (tp_bsize /* bytes / block */ in main() 976 new_mult = (tp_bsize << esize_shift)/tp_bsize; in main() 977 tp_bsize = (tp_bsize << esize_shift); in main() 980 ntrec = (saved_ntrec/(tp_bsize/DEV_BSIZE)); in main() 985 msg(msgp, tp_bsize); in main() 989 assert((tp_bsize / DEV_BSIZE != 0) && (tp_bsize % DEV_BSIZE == 0)); in main() [all …]
|
H A D | dumptape.c | 223 writesize = ntrec * tp_bsize; in alloctape() 299 for (i = 0, j = 0; i < NBUF * ntrec; i++, j += tp_bsize) { in alloctape() 303 reqsiz = sizeof (struct req) + tp_bsize - sizeof (long); in alloctape() 489 data = xmalloc(tp_bsize); in setuparchive() 495 size = atomic((int(*)())read, cmd[0], data, tp_bsize); in setuparchive() 496 if (size == tp_bsize) { in setuparchive() 498 (size = write(archivefd, data, tp_bsize)) in setuparchive() 499 != tp_bsize) { in setuparchive() 653 spcl.c_magic = (tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC; in spclrec() 657 assert((tp_bsize % sizeof (*ip)) == 0); in spclrec() [all …]
|
H A D | dumpitime.c | 376 s = (unsigned)(ip->di_blocks) / (unsigned)(tp_bsize / DEV_BSIZE); 378 t = d_howmany(ip->di_size, (unsigned)tp_bsize); 385 (unsigned)(NDADDR * sblock->fs_bsize / tp_bsize), 398 f_esize += d_howmany(msiz * sizeof (map[0]), (unsigned)tp_bsize);
|
/titanic_50/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 38 extern int32_t tp_bsize; 205 size = ntrec * tp_bsize; in rmtgetconn() 206 while (size > tp_bsize && in rmtgetconn() 209 size -= tp_bsize; in rmtgetconn()
|
H A D | byteorder.c | 120 if ((unsigned)size < tp_bsize) in checksum() 123 j = tp_bsize / sizeof (int); in checksum()
|
/titanic_50/usr/src/head/protocols/ |
H A D | dumprestore.h | 86 extern int32_t tp_bsize;
|