Lines Matching refs:chunk
106 int chunk;
124 chunk = min(len, COPY_BUF_SIZE);
125 ret = read_all(fd, copybuf, chunk);
129 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
130 len -= chunk;
143 int chunk;
171 chunk = min(len, COPY_BUF_SIZE);
172 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
173 len -= chunk;
193 int chunk = min(len, COPY_BUF_SIZE);
194 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
195 len -= chunk;