Lines Matching defs:blocksize
87 const uint32_t blocksize = be32toh(header.cl2h_blocksize);
92 if (blocksize < MIN_BLOCKSIZE)
93 errx(1, "blocksize too small: %"PRIu32
95 blocksize, (uint32_t)MIN_BLOCKSIZE);
97 if (MAX_BLOCKSIZE < blocksize)
98 errx(1, "blocksize too large: %"PRIu32
100 blocksize, (uint32_t)MAX_BLOCKSIZE);
102 if ((blocksize % DEV_BSIZE) != 0)
103 errx(1, "bad blocksize: %"PRIu32
105 blocksize, (uint32_t)DEV_BSIZE);
145 void *const compbuf = malloc(2 * (size_t)blocksize);
150 void *const uncompbuf = malloc(blocksize);
179 if ((2 * (size_t)blocksize) <= (end - start))
201 unsigned long uncomplen = blocksize;
209 assert(uncomplen <= blocksize);
210 if (((blkno + 1) < n_blocks) && (uncomplen != blocksize))