Lines Matching defs:chunk
1276 unsigned long bnum, offs, chunk;
1281 chunk = HFS_BLOCKSZ - offs;
1282 if (chunk > count)
1283 chunk = count;
1288 memcpy(ptr, b + offs, chunk);
1289 ptr += chunk;
1291 file->pos += chunk;
1292 count -= chunk;
1328 unsigned long bnum, offs, chunk;
1333 chunk = HFS_BLOCKSZ - offs;
1334 if (chunk > count)
1335 chunk = count;
1337 if (file->pos + chunk > *pylen)
1347 if (offs > 0 || chunk < HFS_BLOCKSZ)
1353 memcpy(b + offs, ptr, chunk);
1354 ptr += chunk;
1359 file->pos += chunk;
1360 count -= chunk;