Searched refs:tp_bsize (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 93 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in setinput() 164 nsize = size * tp_bsize; in newtapebuf() 254 tp_bsize = spcl.c_tpbsize; in setup() 255 if ((tp_bsize % TP_BSIZE_MIN != 0) || in setup() 256 (tp_bsize > TP_BSIZE_MAX)) { in setup() 261 ntrec = (tape_rec_size/tp_bsize); in setup() 278 ((tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC); in setup() 307 if (stbuf.st_blksize >= tp_bsize && stbuf.st_blksize <= MAXBSIZE) { in setup() 328 maxino = (unsigned)((spcl.c_count * tp_bsize * NBBY) + 1); in setup() 398 if (stbuf.st_blksize >= tp_bsize && stbuf.st_blksize <= MAXBSIZE) { in setupR() [all …]
|
H A D | main.c | 69 int32_t tp_bsize = TP_BSIZE_MIN; variable 303 ntrec /= (tp_bsize/DEV_BSIZE); in main()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptraverse.c | 487 u_offset_t tbperfsb = (unsigned)(sblock->fs_bsize / tp_bsize); in lf_blksout() 506 bytepos = (offset_t)pos * tp_bsize; in lf_blksout() 510 loffset += (u_offset_t)tp_bsize * in lf_blksout() 512 d_howmany(bytes, (u_offset_t)tp_bsize); in lf_blksout() 523 tpblkskip = d_howmany(diff, (u_offset_t)tp_bsize); in lf_blksout() 532 (u_offset_t)(unsigned)tp_bsize); in lf_blksout() 542 if (bytes < TP_NINDIR*tp_bsize) in lf_blksout() 544 count = d_howmany(bytes, (u_offset_t)tp_bsize); in lf_blksout() 549 bytes -= (tpblkskip * (u_offset_t)tp_bsize); in lf_blksout() 553 bytes -= (offset_t)TP_NINDIR*tp_bsize; in lf_blksout() [all …]
|
H A D | dumpmain.c | 97 int32_t tp_bsize = TP_BSIZE_MIN; /* tape block record size (frag size) */ variable 356 ntrec /= (tp_bsize/DEV_BSIZE); in main() 603 saved_ntrec = (ntrec * (tp_bsize/DEV_BSIZE)); in main() 947 * (tp_bsize /* bytes/block */ in main() 964 * (tp_bsize /* bytes / block */ in main() 1015 new_mult = (tp_bsize << esize_shift)/tp_bsize; in main() 1016 tp_bsize = (tp_bsize << esize_shift); in main() 1019 ntrec = (saved_ntrec/(tp_bsize/DEV_BSIZE)); in main() 1024 msg(msgp, tp_bsize); in main() 1028 assert((tp_bsize / DEV_BSIZE != 0) && (tp_bsize % DEV_BSIZE == 0)); in main() [all …]
|
H A D | dumptape.c | 196 writesize = ntrec * tp_bsize; in alloctape() 272 for (i = 0, j = 0; i < NBUF * ntrec; i++, j += tp_bsize) { in alloctape() 276 reqsiz = sizeof (struct req) + tp_bsize - sizeof (long); in alloctape() 450 data = xmalloc(tp_bsize); in setuparchive() 456 size = atomic((int(*)())read, cmd[0], data, tp_bsize); in setuparchive() 457 if (size == tp_bsize) { in setuparchive() 459 (size = write(archivefd, data, tp_bsize)) in setuparchive() 460 != tp_bsize) { in setuparchive() 610 spcl.c_magic = (tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC; in spclrec() 614 assert((tp_bsize % sizeof (*ip)) == 0); in spclrec() [all …]
|
H A D | dumpitime.c | 362 s = (unsigned)(ip->di_blocks) / (unsigned)(tp_bsize / DEV_BSIZE); in est() 364 t = d_howmany(ip->di_size, (unsigned)tp_bsize); in est() 371 (unsigned)(NDADDR * sblock->fs_bsize / tp_bsize), in est() 383 f_esize += d_howmany(msiz * sizeof (map[0]), (unsigned)tp_bsize); in bmapest()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 35 extern int32_t tp_bsize; 202 size = ntrec * tp_bsize; in rmtgetconn() 203 while (size > tp_bsize && in rmtgetconn() 206 size -= tp_bsize; in rmtgetconn()
|
H A D | byteorder.c | 118 if ((unsigned)size < tp_bsize) in checksum() 121 j = tp_bsize / sizeof (int); in checksum()
|
/illumos-gate/usr/src/head/protocols/ |
H A D | dumprestore.h | 84 extern int32_t tp_bsize;
|