Symbol: TBLOCK
usr/src/cmd/cpio/cpio.c
7614
bar_Vhdr = e_zalloc(E_EXIT, TBLOCK);
usr/src/cmd/cpio/cpio.c
7616
(void) memcpy(&(bar_Vhdr->dbuf), &(tmp_hdr->dbuf), TBLOCK);
usr/src/cmd/cpio/cpio.c
7758
bar_Vhdr = e_zalloc(E_EXIT, TBLOCK);
usr/src/cmd/cpio/cpio.c
7761
&(tmp_hdr->dbuf), TBLOCK);
usr/src/cmd/cpio/cpio.c
8561
#define ROUNDTOTBLOCK(a) ((a + (TBLOCK -1)) & ~(TBLOCK -1))
usr/src/cmd/cpio/cpio.h
247
char dummy[TBLOCK];
usr/src/cmd/tar/tar.c
167
#define TBLOCKS(bytes) (((bytes) + TBLOCK - 1) / TBLOCK)
usr/src/cmd/tar/tar.c
1676
char buf[TBLOCK];
usr/src/cmd/tar/tar.c
2384
(nblock * TBLOCK));
usr/src/cmd/tar/tar.c
2386
maxread = TBLOCK;
usr/src/cmd/tar/tar.c
2391
read(infile, bigbuf, min((hint*TBLOCK), maxread))) > 0) &&
usr/src/cmd/tar/tar.c
2395
nblks = ((i-1)/TBLOCK)+1;
usr/src/cmd/tar/tar.c
2594
char buf[TBLOCK];
usr/src/cmd/tar/tar.c
2651
s = (off_t)(blocklim - tapepos - 1) * TBLOCK;
usr/src/cmd/tar/tar.c
2658
s = (off_t)(blocklim - 1)*TBLOCK; /* all */
usr/src/cmd/tar/tar.c
2673
while (blocks && read(ifd, buf, TBLOCK) > 0) {
usr/src/cmd/tar/tar.c
350
char dummy[TBLOCK];
usr/src/cmd/tar/tar.c
3710
char buf[TBLOCK];
usr/src/cmd/tar/tar.c
3745
if (bytes <= TBLOCK) {
usr/src/cmd/tar/tar.c
3751
TBLOCK);
usr/src/cmd/tar/tar.c
3752
tp += TBLOCK;
usr/src/cmd/tar/tar.c
3754
bytes -= TBLOCK;
usr/src/cmd/tar/tar.c
3898
if (issysattr || (bytes <= TBLOCK)) {
usr/src/cmd/tar/tar.c
3913
piosize = TBLOCK;
usr/src/cmd/tar/tar.c
3923
if ((buf = malloc(TBLOCKS(maxwrite) * TBLOCK)) == NULL) {
usr/src/cmd/tar/tar.c
3934
for (bytesread = 0; bytesread < maxwrite; bytesread += TBLOCK) {
usr/src/cmd/tar/tar.c
4158
#if SYS_BLOCK > TBLOCK
usr/src/cmd/tar/tar.c
4159
nblock = SYS_BLOCK / TBLOCK;
usr/src/cmd/tar/tar.c
4309
char buf[TBLOCK];
usr/src/cmd/tar/tar.c
4312
for (cp = buf; cp < &buf[TBLOCK]; )
usr/src/cmd/tar/tar.c
4609
bzero(dblock.dummy, TBLOCK);
usr/src/cmd/tar/tar.c
4672
for (cp = dblockp->dummy; cp < &(dblockp->dummy[TBLOCK]); cp++)
usr/src/cmd/tar/tar.c
4695
cp < (unsigned char *) &(dblockp->dummy[TBLOCK]); cp++)
usr/src/cmd/tar/tar.c
5065
#if SYS_BLOCK > TBLOCK
usr/src/cmd/tar/tar.c
5080
#if SYS_BLOCK > TBLOCK
usr/src/cmd/tar/tar.c
5081
nxb = (blkcnt_t)(seekval % (off_t)(SYS_BLOCK / TBLOCK));
usr/src/cmd/tar/tar.c
5088
if (lseek(mt, (off_t)(TBLOCK * seekval), 1) == (off_t)-1) {
usr/src/cmd/tar/tar.c
5093
#if SYS_BLOCK > TBLOCK
usr/src/cmd/tar/tar.c
5098
if (read(mt, tbuf, TBLOCK*nblock) < 0) {
usr/src/cmd/tar/tar.c
5128
if ((i = read(mt, tbuf, TBLOCK*j)) < 0) {
usr/src/cmd/tar/tar.c
5151
} else if ((!first || Bflag) && i != TBLOCK*j) {
usr/src/cmd/tar/tar.c
5156
int remaining = (TBLOCK * j) - i;
usr/src/cmd/tar/tar.c
5172
if ((i % TBLOCK) != 0) {
usr/src/cmd/tar/tar.c
5177
i /= TBLOCK;
usr/src/cmd/tar/tar.c
5215
i = write(mt, (char *)tbuf, TBLOCK*nblock);
usr/src/cmd/tar/tar.c
5216
if (i != TBLOCK*nblock)
usr/src/cmd/tar/tar.c
5228
i = (int)write(mt, buffer, TBLOCK*nblock);
usr/src/cmd/tar/tar.c
5229
if (i != TBLOCK*nblock)
usr/src/cmd/tar/tar.c
5232
buffer += (nblock * TBLOCK);
usr/src/cmd/tar/tar.c
5236
(void) memcpy((char *)&tbuf[recno++], buffer, TBLOCK);
usr/src/cmd/tar/tar.c
5237
buffer += TBLOCK;
usr/src/cmd/tar/tar.c
5239
i = (int)write(mt, (char *)tbuf, TBLOCK*nblock);
usr/src/cmd/tar/tar.c
5240
if (i != TBLOCK*nblock)
usr/src/cmd/tar/tar.c
5283
if (lseek(mt, (off_t)(TBLOCK*(tapepos-recno)), SEEK_SET) ==
usr/src/cmd/tar/tar.c
5331
#if SYS_BLOCK > TBLOCK
usr/src/cmd/tar/tar.c
5340
if ((i = recno % (SYS_BLOCK / TBLOCK)) != 0) {
usr/src/cmd/tar/tar.c
5350
(blkcnt_t)(NotTape ? recno : nblock) * TBLOCK);
usr/src/cmd/tar/tar.c
5352
(size_t)(NotTape ? recno : nblock) * TBLOCK) < 0) {
usr/src/cmd/tar/tar.c
5364
(void) memcpy(dst, src, TBLOCK);
usr/src/cmd/tar/tar.c
5396
return (kval * 1024 / TBLOCK); /* convert to TBLOCKS */
usr/src/cmd/tar/tar.c
5412
if ((bval <= 0) || (bval > INT_MAX / TBLOCK)) {
usr/src/cmd/tar/tar.c
5805
while ((sz = read(mt, tbuf, TBLOCK*nblock)) > 0) {
usr/src/cmd/tar/tar.c
5861
st->st_size += TBLOCK + Xtarhdr.x_filesz;
usr/src/cmd/tar/tar.c
6441
(void) bcopy(dblock.dummy, xhdr_buf.dummy, TBLOCK);
usr/src/cmd/tar/tar.c
6890
bufneeded = nblocks * TBLOCK;
usr/src/cmd/tar/tar.c
6902
lineloc += TBLOCK;
usr/src/cmd/tar/tar.c
7595
#define ROUNDTOTBLOCK(a) ((a + (TBLOCK -1)) & ~(TBLOCK -1))
usr/src/cmd/tar/tar.c
8235
char buf[TBLOCK];
usr/src/cmd/tar/tar.c
8259
if (bytes <= TBLOCK) {
usr/src/cmd/tar/tar.c
8263
(void) memcpy(tp, buf, TBLOCK);
usr/src/cmd/tar/tar.c
8264
tp += TBLOCK;
usr/src/cmd/tar/tar.c
8266
bytes -= TBLOCK;
usr/src/head/archives.h
130
char dummy[TBLOCK];