Lines Matching refs:totsize
635 long totsize; in genheader() local
656 totsize = 0; in genheader()
666 totsize += statbuf.st_size/BLK_SIZE + 1; in genheader()
672 totsize += i/4 + 1; in genheader()
673 if (dstdev.capacity && totsize > dstdev.capacity) { in genheader()
675 logerr(pkg_gt(MSG_NOSPACE), totsize, dstdev.capacity); in genheader()
727 totsize += nparts * maxpsize; in genheader()
728 if (dstdev.capacity && dstdev.capacity < totsize) { in genheader()
731 if (totsize) in genheader()
732 totsize -= nparts * maxpsize; in genheader()
734 while (totsize <= dstdev.capacity && in genheader()
736 totsize += maxpsize; in genheader()
752 totsize = 0; in genheader()