Searched refs:tp_bsize (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 164 nsize = size * tp_bsize; in newtapebuf() 254 tp_bsize = spcl.c_tpbsize; in setup() 1073 bufptr += tp_bsize; in getfile() 1499 bcopy(&tbf[(bct++*tp_bsize)], b, (size_t)tp_bsize); in readtape() 1514 cnt = ntrec*tp_bsize; in readtape() 1541 if (i % tp_bsize != 0) in readtape() 1544 i, ntrec * tp_bsize); in readtape() 1545 numtrec = i / tp_bsize; in readtape() 1581 i = (int)(ntrec*tp_bsize); in readtape() 1618 if (rd % tp_bsize != 0) in readtape() [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 | 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() 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() 583 j += d_howmany(bytecnt, (u_offset_t)tp_bsize); in lf_blksout() 609 for (cp = &map[pos * tp_bsize]; count > 0; in bitmap() [all …]
|
H A D | dumpmain.c | 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() 1034 (void) printf("%llu\n", esize * tp_bsize); in main() [all …]
|
H A D | dumptape.c | 450 data = xmalloc(tp_bsize); in setuparchive() 457 if (size == tp_bsize) { in setuparchive() 460 != tp_bsize) { in setuparchive() 636 if (size > tp_bsize) { in taprec() 639 tp_bsize, size); in taprec() 648 if (size < tp_bsize) { in taprec() 1889 cp += i > tp_bsize ? tp_bsize : i, in dumpoffline() 1890 i -= i > tp_bsize ? tp_bsize : i) { in dumpoffline() 1892 taprec(cp, 0, i > tp_bsize ? tp_bsize : (int)i); in dumpoffline() 2059 trecs = siz / tp_bsize; in dowrite() [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;
|