Symbol: TP_BSIZE
include/protocols/dumprestore.h
60
#define TP_NINDIR (TP_BSIZE/2)
include/protocols/dumprestore.h
72
char dummy[TP_BSIZE];
sbin/dump/dumprmt.c
139
size = ntrec * TP_BSIZE;
sbin/dump/dumprmt.c
144
while (size > TP_BSIZE &&
sbin/dump/dumprmt.c
146
size -= TP_BSIZE;
sbin/dump/main.c
163
if (TP_BSIZE / DEV_BSIZE == 0 || TP_BSIZE % DEV_BSIZE != 0)
sbin/dump/main.c
559
tp_bshift = ffs(TP_BSIZE) - 1;
sbin/dump/main.c
560
if (TP_BSIZE != (1 << tp_bshift))
sbin/dump/main.c
561
quit("TP_BSIZE (%d) is not a power of 2", TP_BSIZE);
sbin/dump/main.c
563
mapsize = roundup(howmany(maxino, NBBY), TP_BSIZE);
sbin/dump/main.c
567
tapesize = 3 * (howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
sbin/dump/main.c
600
* TP_BSIZE /* bytes/block */
sbin/dump/main.c
613
* TP_BSIZE /* bytes / block */
sbin/dump/main.c
625
(howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
sbin/dump/tape.c
105
char (*tblock)[TP_BSIZE]; /* buffer for data blocks */
sbin/dump/tape.c
110
char (*nextblock)[TP_BSIZE];
sbin/dump/tape.c
125
writesize = ntrec * TP_BSIZE;
sbin/dump/tape.c
143
xmalloc((unsigned)(reqsiz + writesize + pgoff + TP_BSIZE));
sbin/dump/tape.c
144
workers[i].tblock = (char (*)[TP_BSIZE])
sbin/dump/tape.c
527
prev->count * (TP_BSIZE / DEV_BSIZE);
sbin/dump/tape.c
847
p->count * TP_BSIZE);
sbin/dump/tape.c
851
TP_BSIZE) != TP_BSIZE)
sbin/dump/traverse.c
104
howmany(sizeest - UFS_NDADDR * ufsib->ufs_bsize / TP_BSIZE,
sbin/dump/traverse.c
483
char buf[TP_BSIZE];
sbin/dump/traverse.c
660
blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
sbin/dump/traverse.c
680
dumpblock(iswap32(*bp), (count - j) * TP_BSIZE);
sbin/dump/traverse.c
693
blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
sbin/dump/traverse.c
700
TP_BSIZE);
sbin/dump/traverse.c
703
TP_BSIZE);
sbin/dump/traverse.c
705
blks -= howmany(ufsib->ufs_fsize, TP_BSIZE) - resid;
sbin/dump/traverse.c
730
dumpblock(iswap64(*bp), (count - j) * TP_BSIZE);
sbin/dump/traverse.c
770
blks = howmany(UFS_NXADDR * ufsib->ufs_bsize, TP_BSIZE);
sbin/dump/traverse.c
772
blks = howmany(extsize, TP_BSIZE);
sbin/dump/traverse.c
826
blks = howmany(UFS_NXADDR * ufsib->ufs_bsize, TP_BSIZE);
sbin/dump/traverse.c
828
blks = howmany(extsize, TP_BSIZE);
sbin/dump/traverse.c
836
dumpblock(iswap64(*bp), (blks - i) * TP_BSIZE);
sbin/dump/traverse.c
866
spcl.c_count = iswap32(howmany(mapsize * sizeof(char), TP_BSIZE));
sbin/dump/traverse.c
868
for (i = 0, cp = map; i < iswap32(spcl.c_count); i++, cp += TP_BSIZE)
sbin/dump/traverse.c
97
dbtob((u_int64_t)DIP(dp, blocks))), TP_BSIZE);
sbin/dump/traverse.c
98
sizeest = howmany(ufs_fragroundup(ufsib, DIP(dp, size)), TP_BSIZE);
sbin/restore/tape.c
1014
for (i = 0; i < spcl.c_count && size >= TP_BSIZE; i++) {
sbin/restore/tape.c
1016
mapptr += TP_BSIZE;
sbin/restore/tape.c
1017
size -= TP_BSIZE;
sbin/restore/tape.c
1022
size = spcl.c_count * TP_BSIZE;
sbin/restore/tape.c
1051
char buf[MAXBSIZE / TP_BSIZE][TP_BSIZE];
sbin/restore/tape.c
1052
char junk[TP_BSIZE];
sbin/restore/tape.c
1076
if ((uint32_t)curblk == fssize / TP_BSIZE) {
sbin/restore/tape.c
1078
(*fillit)((char *)buf, (long)(size > TP_BSIZE ?
sbin/restore/tape.c
1079
fssize : (curblk - 1) * TP_BSIZE + size));
sbin/restore/tape.c
1085
(*fillit)((char *)buf, (long)(size > TP_BSIZE ?
sbin/restore/tape.c
1086
curblk * TP_BSIZE :
sbin/restore/tape.c
1087
(curblk - 1) * TP_BSIZE + size));
sbin/restore/tape.c
1096
seekpos += (long)MIN(TP_BSIZE, size);
sbin/restore/tape.c
1098
if ((size -= TP_BSIZE) <= 0) {
sbin/restore/tape.c
1099
if (size > -TP_BSIZE && curblk > 0) {
sbin/restore/tape.c
1102
(long)((curblk * TP_BSIZE) + size));
sbin/restore/tape.c
121
char dummy[TP_BSIZE];
sbin/restore/tape.c
1275
memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], (long)TP_BSIZE);
sbin/restore/tape.c
1281
((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0;
sbin/restore/tape.c
1284
cnt = ntrec * TP_BSIZE;
sbin/restore/tape.c
1306
else if (i > 0 && i != ntrec * TP_BSIZE) {
sbin/restore/tape.c
1317
if (i % TP_BSIZE != 0)
sbin/restore/tape.c
1320
i, ntrec * TP_BSIZE);
sbin/restore/tape.c
1321
numtrec = i / TP_BSIZE;
sbin/restore/tape.c
1346
i = ntrec * TP_BSIZE;
sbin/restore/tape.c
1374
if (rd % TP_BSIZE != 0)
sbin/restore/tape.c
1376
rd, ntrec * TP_BSIZE);
sbin/restore/tape.c
1378
memmove(&tapebuf[rd], &endoftapemark, (long)TP_BSIZE);
sbin/restore/tape.c
1381
memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], (long)TP_BSIZE);
sbin/restore/tape.c
1392
((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0;
sbin/restore/tape.c
1396
i = rmtread(tapebuf, ntrec * TP_BSIZE);
sbin/restore/tape.c
1399
i = read(mt, tapebuf, ntrec * TP_BSIZE);
sbin/restore/tape.c
1405
if (i % TP_BSIZE != 0) {
sbin/restore/tape.c
1408
(long)TP_BSIZE);
sbin/restore/tape.c
1411
ntrec = i / TP_BSIZE;
sbin/restore/tape.c
1473
memset(buf, 0, TP_BSIZE);
sbin/restore/tape.c
1500
buf->c_size = buf->c_count * TP_BSIZE;
sbin/restore/tape.c
1624
char buf[TP_BSIZE];
sbin/restore/tape.c
279
tapebuf = malloc(size * TP_BSIZE);
sbin/restore/tape.c
347
if (stbuf.st_blksize >= TP_BSIZE && stbuf.st_blksize <= MAXBSIZE)
sbin/restore/tape.c
390
char buf[TP_BSIZE];