Searched refs:TP_BSIZE (Results 1 – 6 of 6) sorted by relevance
| /dragonfly/sbin/restore/ |
| HD | tape.c | 165 tapebuf = malloc(size * TP_BSIZE); in newtapebuf() 231 if (stbuf.st_blksize > 0 && stbuf.st_blksize < TP_BSIZE ) in setup() 232 fssize = TP_BSIZE; in setup() 233 if (stbuf.st_blksize >= TP_BSIZE && stbuf.st_blksize <= MAXBSIZE) in setup() 252 maxino = (spcl.c_count * TP_BSIZE * NBBY) + 1; in setup() 295 char buf[TP_BSIZE]; in getvol() 684 char buf[MAXBSIZE / TP_BSIZE][TP_BSIZE]; in getfile() 685 char junk[TP_BSIZE]; in getfile() 698 if (curblk == fssize / TP_BSIZE) { in getfile() 699 (*fill)((char *)buf, (long)(size > TP_BSIZE ? in getfile() [all …]
|
| /dragonfly/sbin/dump/ |
| HD | main.c | 118 if (TP_BSIZE / DEV_BSIZE == 0 || TP_BSIZE % DEV_BSIZE != 0) in main() 352 tp_bshift = ffs(TP_BSIZE) - 1; in main() 353 if (TP_BSIZE != (1 << tp_bshift)) in main() 354 quit("TP_BSIZE (%d) is not a power of 2", TP_BSIZE); in main() 360 mapsize = roundup(howmany(maxino, NBBY), TP_BSIZE); in main() 364 tapesize = 3 * (howmany(mapsize * sizeof(char), TP_BSIZE) + 1); in main() 395 * TP_BSIZE /* bytes/block */ in main() 408 * TP_BSIZE /* bytes / block */ in main() 420 (howmany(mapsize * sizeof(char), TP_BSIZE) + 1); in main()
|
| HD | tape.c | 101 char (*tblock)[TP_BSIZE]; /* buffer for data blocks */ 106 static char (*nextblock)[TP_BSIZE]; 123 writesize = ntrec * TP_BSIZE; in alloctape() 141 malloc((unsigned)(reqsiz + writesize + pgoff + TP_BSIZE)); in alloctape() 144 slaves[i].tblock = (char (*)[TP_BSIZE]) in alloctape() 448 prev->count * (TP_BSIZE / DEV_BSIZE); in rollforward() 765 p->count * TP_BSIZE); in doslave() 769 TP_BSIZE) != TP_BSIZE) in doslave()
|
| HD | traverse.c | 88 blkest = howmany(dbtob(dp->di_blocks), TP_BSIZE); in blockest() 89 sizeest = howmany(dp->di_size, TP_BSIZE); in blockest() 95 howmany(sizeest - UFS_NDADDR * sblock->fs_bsize / TP_BSIZE, in blockest() 355 char buf[TP_BSIZE]; in dumpino() 461 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); in blksout() 481 dumpblock(*bp, (count - j) * TP_BSIZE); in blksout() 497 spcl.c_count = howmany(mapsize * sizeof(char), TP_BSIZE); in dumpmap() 499 for (i = 0, cp = map; i < spcl.c_count; i++, cp += TP_BSIZE) in dumpmap()
|
| HD | dumprmt.c | 167 size = ntrec * TP_BSIZE; in rmtgetconn() 172 while (size > TP_BSIZE && in rmtgetconn() 174 size -= TP_BSIZE; in rmtgetconn()
|
| /dragonfly/include/protocols/ |
| HD | dumprestore.h | 52 #define TP_BSIZE 1024 macro 55 #define TP_NINDIR (TP_BSIZE/2) 64 char dummy[TP_BSIZE];
|