Lines Matching refs:size

55 #define MINFBSZ		512		/* default block size for hole detect */
60 * limit on blocking size is removed (though that will violate pax spec)
67 int blksz = MAXBLK; /* block input/output size in bytes */
68 int wrblksz; /* user spec output size in bytes */
79 * 0 if ok, -1 if the user specified write block size violates pax spec
87 * Check to make sure the write block size meets pax specs. If the user
96 paxwarn(1, "Write block size of %d too large, maximum is: %d",
101 paxwarn(1, "Write block size of %d is not a %d byte multiple",
106 paxwarn(0, "Write block size of %d larger than POSIX max %d, archive may not be portable",
135 * going to append and user specified a write block size, check it
141 paxwarn(1,"Write block size %d too large, maximum is: %d",
146 paxwarn(1, "Write block size %d is not a %d byte multiple",
187 * back several records (the number depends on the size of the archive
188 * record and the size of the format trailer) to read up the record where
218 * if the user did not specify a write blocksize, inherit the size used
255 * determination of the physical block size, we will fail.
607 off_t size = arcn->sb.st_size;
613 while (size > 0L) {
616 *left = size;
619 cnt = MIN(cnt, size);
622 size -= res;
632 else if (size != 0L)
633 paxwarn(1, "File changed size during read %s", arcn->org_name);
639 *left = size;
667 off_t size = arcn->sb.st_size;
678 * if the size is zero, use the default MINFBSZ
684 syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
693 while (size > 0L) {
702 cnt = MIN(cnt, size);
704 *left = size;
717 size -= res;
732 if ((size > 0L) && (*left == 0L))
739 if (docrc && (size == 0L) && (arcn->crc != crc))
773 * if the size is zero, use the default MINFBSZ
779 syswarn(0,errno,"Unable to obtain block size for file %s",fnm);
804 paxwarn(1, "File %s changed size during copy to %s",
875 * the record size might change. (either larger or smaller).
903 * The new archive volume might have changed the size of the
909 * if the block size has shrunk from a volume change.
973 * size. if so, figure out if we have too much or too little
974 * data for using the new block size