Lines Matching defs:size

66 #define MINFBSZ		512		/* default block size for hole detect */
71 * limit on blocking size is removed (though that will violate pax spec)
78 int blksz = MAXBLK; /* block input/output size in bytes */
79 int wrblksz; /* user spec output size in bytes */
90 * 0 if ok, -1 if the user specified write block size violates pax spec
98 * Check to make sure the write block size meets pax specs. If the user
107 tty_warn(1, "Write block size of %d too large, maximum is: %d",
112 tty_warn(1, "Write block size of %d is not a %d byte multiple",
141 * going to append and user specified a write block size, check it
148 "Write block size %d too large, maximum is: %d",
154 "Write block size %d is not a %d byte multiple",
195 * back several records (the number depends on the size of the archive
196 * record and the size of the format trailer) to read up the record where
226 * if the user did not specify a write blocksize, inherit the size used
263 * determination of the physical block size, we will fail.
617 off_t size = arcn->sb.st_size;
632 while (size > 0L) {
635 *left = size;
638 cnt = MIN(cnt, size);
641 size -= res;
651 else if (size != 0L)
652 tty_warn(1, "File changed size during read %s", arcn->org_name);
658 *left = size;
686 off_t size = arcn->sb.st_size;
697 * if the size is zero, use the default MINFBSZ
706 "Unable to obtain block size for file %s", fnm);
715 while (size > 0L) {
724 cnt = MIN(cnt, size);
726 *left = size;
739 size -= res;
754 if ((size > 0L) && (*left == 0L))
761 if (docrc && (size == 0L) && (arcn->crc != crc))
805 * if the size is zero, use the default MINFBSZ
812 "Unable to obtain block size for file %s", fnm);
837 tty_warn(1, "File %s changed size during copy to %s",
908 * the record size might change. (either larger or smaller).
937 * The new archive volume might have changed the size of the
943 * if the block size has shrunk from a volume change.
1007 * size. if so, figure out if we have too much or too little
1008 * data for using the new block size