OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TP_BSIZE
(Results
1 - 6
of
6
) sorted by relevancy
/src/include/protocols/
dumprestore.h
46
*
TP_BSIZE
is the size of file blocks on the dump tapes.
47
* Note that
TP_BSIZE
must be a multiple of DEV_BSIZE.
49
* NTREC is the number of
TP_BSIZE
blocks that are written
51
*
TP_BSIZE
blocks that are written in each tape record on
57
#define
TP_BSIZE
1024
60
#define TP_NINDIR (
TP_BSIZE
/2)
72
char dummy[
TP_BSIZE
];
/src/sbin/restore/
tape.c
85
static int tpblksread = 0; /*
TP_BSIZE
blocks read */
120
char dummy[
TP_BSIZE
];
278
tapebuf = malloc(size *
TP_BSIZE
);
346
if (stbuf.st_blksize >=
TP_BSIZE
&& stbuf.st_blksize <= MAXBSIZE)
389
char buf[
TP_BSIZE
];
1013
for (i = 0; i < spcl.c_count && size >=
TP_BSIZE
; i++) {
1015
mapptr +=
TP_BSIZE
;
1016
size -=
TP_BSIZE
;
1021
size = spcl.c_count *
TP_BSIZE
;
1050
char buf[MAXBSIZE /
TP_BSIZE
][TP_BSIZE]
[
all
...]
/src/sbin/dump/
traverse.c
69
* This is an estimation of the number of
TP_BSIZE
blocks in the file.
97
dbtob((u_int64_t)DIP(dp, blocks))),
TP_BSIZE
);
98
sizeest = howmany(ufs_fragroundup(ufsib, DIP(dp, size)),
TP_BSIZE
);
104
howmany(sizeest - UFS_NDADDR * ufsib->ufs_bsize /
TP_BSIZE
,
483
char buf[
TP_BSIZE
];
660
blks = howmany(frags * ufsib->ufs_fsize,
TP_BSIZE
);
680
dumpblock(iswap32(*bp), (count - j) *
TP_BSIZE
);
693
blks = howmany(frags * ufsib->ufs_fsize,
TP_BSIZE
);
700
TP_BSIZE
);
703
TP_BSIZE
);
[
all
...]
main.c
163
if (
TP_BSIZE
/ DEV_BSIZE == 0 ||
TP_BSIZE
% DEV_BSIZE != 0)
164
quit("
TP_BSIZE
must be a multiple of DEV_BSIZE");
559
tp_bshift = ffs(
TP_BSIZE
) - 1;
560
if (
TP_BSIZE
!= (1 << tp_bshift))
561
quit("
TP_BSIZE
(%d) is not a power of 2",
TP_BSIZE
);
563
mapsize = roundup(howmany(maxino, NBBY),
TP_BSIZE
);
567
tapesize = 3 * (howmany(mapsize * sizeof(char),
TP_BSIZE
) + 1);
600
*
TP_BSIZE
/* bytes/block *
[
all
...]
tape.c
105
char (*tblock)[
TP_BSIZE
]; /* buffer for data blocks */
110
char (*nextblock)[
TP_BSIZE
];
125
writesize = ntrec *
TP_BSIZE
;
143
xmalloc((unsigned)(reqsiz + writesize + pgoff +
TP_BSIZE
));
144
workers[i].tblock = (char (*)[
TP_BSIZE
])
527
prev->count * (
TP_BSIZE
/ DEV_BSIZE);
691
* measure firstrec in
TP_BSIZE
units since restore doesn't
847
p->count *
TP_BSIZE
);
851
TP_BSIZE
) !=
TP_BSIZE
)
[
all
...]
dumprmt.c
139
size = ntrec *
TP_BSIZE
;
144
while (size >
TP_BSIZE
&&
146
size -=
TP_BSIZE
;
Completed in 46 milliseconds
Indexes created Mon Oct 13 21:09:55 GMT 2025