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

/freebsd-9.3-release/bin/pax/
H A Dbuf_subs.c64 static char bufmem[MAXBLK+BLKMULT]; /* i/o buffer + pushback id space */
86 buf = &(bufmem[BLKMULT]);
101 if (wrblksz % BLKMULT) {
103 wrblksz, BLKMULT);
139 buf = &(bufmem[BLKMULT]);
146 if (wrblksz % BLKMULT) {
148 wrblksz, BLKMULT);
172 buf = &(bufmem[BLKMULT]);
371 * WARNING: do not even THINK of pback greater than BLKMULT, unless the
769 if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >
[all...]
H A Dpax.h45 #define BLKMULT 512 /* blocksize must be even mult of 512 bytes */ macro
95 /* Headers are assumed to fit in a BLKMULT. */
H A Dtar.c80 return(wr_skip((off_t)(NULLCNT*BLKMULT)));
87 * size of trailer (2 * BLKMULT)
93 return((off_t)(NULLCNT*BLKMULT));
115 for (i = 0; i < BLKMULT; ++i) {
123 if (i != BLKMULT)
306 if (size < BLKMULT)
322 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT))
380 if (tar_id(buf, BLKMULT) < 0)
644 if (wr_skip((off_t)(BLKMULT - sizeof(HD_TAR))) < 0)
705 if (size < BLKMULT)
[all...]
H A Dar_io.c246 ((arsb.st_blksize % BLKMULT) == 0))
270 for (rdblksz = MAXBLK; rdblksz > 0; rdblksz -= BLKMULT)
290 blksz = rdblksz = BLKMULT;
551 * BLKMULT).
554 if (rdblksz % BLKMULT)
630 if ((res > 0) && (res % BLKMULT)) {
632 * try to fix up partial writes which are not BLKMULT
680 * if the format wants the header to start at a BLKMULT boundary. While
771 fsbz = BLKMULT;
H A Dar_subs.c65 static char hdbuf[BLKMULT]; /* space for archive header on read */
966 * ASSUMED: headers fit within a BLKMULT header.
1119 * ASSUMED: headers fit within a BLKMULT header.
1130 int minhd = BLKMULT;
1144 res = BLKMULT;
1170 res = BLKMULT;
1223 res = BLKMULT - hdsz;
1226 res = BLKMULT;
H A Doptions.c120 {"tar", 10240, BLKMULT, 0, 1, BLKMULT, 0, tar_id, no_op,
125 {"ustar", 10240, BLKMULT, 0, 1, BLKMULT, 0, ustar_id, ustar_strd,
395 if (wrlimit % BLKMULT) {
397 BLKMULT);

Completed in 56 milliseconds