Lines Matching defs:crc32
88 int process_raw_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32)
102 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
115 int process_fill_chunk(int in, int out, u32 blocks, u32 blk_sz, u32 *crc32)
133 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
145 int process_skip_chunk(int out, u32 blocks, u32 blk_sz, u32 *crc32)
157 int process_crc32_chunk(int in, u32 crc32)
164 fprintf(stderr, "read returned an error copying a crc32 chunk\n");
168 if (file_crc32 != crc32) {
169 fprintf(stderr, "computed crc32 of 0x%8.8x, expected 0x%8.8x\n",
170 crc32, file_crc32);
184 u32 crc32 = 0;
266 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32);
274 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32);
282 chunk_header.chunk_sz, sparse_header.blk_sz, &crc32);
285 process_crc32_chunk(in, crc32);