Searched refs:BLOCKSIZE (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/pax/
H A Dpax.c615 if (state.blocksize & (BLOCKSIZE - 1))
616 error(1, "block size should probably be a multiple of %d", BLOCKSIZE);
619 state.blocksize = DEFBLOCKS * BLOCKSIZE;
1707 state.buffersize = state.blocksize *= BLOCKSIZE;
1715 state.blocksize = (state.operation == (IN|OUT) ? FILBLOCKS : DEFBLOCKS) * BLOCKSIZE;
1996 message((-1, "%s totals entries=%d count=%I*d expand=%I*d offset=%I*d BLOCKSIZE=%I*d n=%I*d blocks=%I*d", ap->name, ap->entries, sizeof(ap->io->count), ap->io->count, sizeof(ap->io->expand), ap->io->expand, sizeof(ap->io->offset), ap->io->offset, sizeof(BLOCKSIZE), BLOCKSIZE, sizeof(n), n, sizeof(n), (n + BLOCKSIZE - 1) / BLOCKSIZE));
[all...]
H A Dpax.h204 #define BLOCKSIZE PAX_BLOCK /* block size */ macro
210 #define MAXUNREAD (8*BLOCKSIZE) /* max bunread() count */
212 #define MAXID BLOCKSIZE /* max ident buffer size */
H A Dformat.c357 char buf[BLOCKSIZE];
373 * volumes begin on BLOCKSIZE boundaries
389 if (!(n = roundof(ap->io->count, BLOCKSIZE) - ap->io->count) || bread(ap, buf, (off_t)0, (off_t)n, 0) > 0)
394 if (z >= BLOCKSIZE)
398 if (n == BLOCKSIZE)
407 bunread(ap, buf, BLOCKSIZE);
414 n = BLOCKSIZE;
H A Dpax-saveset.c153 f->st->st_size = (long)(swapget(1, p + FILHDR_data + FILATT_blocks, 2) - 1) * BLOCKSIZE + (long)swapget(1, p + FILHDR_data + FILATT_frag, 2);
H A Dpax-tar.c905 return ap->io->unblocked ? BLOCKSIZE : state.blocksize;
1003 BLOCKSIZE,
1034 BLOCKSIZE,
1065 BLOCKSIZE,
H A Dpax-cpio.c474 return ap->io->unblocked ? BLOCKSIZE : state.blocksize;

Completed in 25 milliseconds