Lines Matching refs:lu
184 int lu, fd; in child_thread() local
246 lu = read(fd, buffer, min(zc.recv_skip_hint, in child_thread()
248 if (lu > 0) { in child_thread()
250 EVP_DigestUpdate(ctx, buffer, lu); in child_thread()
252 hash_zone(buffer, lu); in child_thread()
253 total += lu; in child_thread()
255 if (lu == 0) in child_thread()
262 lu = read(fd, buffer + sub, min(chunk_size - sub, in child_thread()
264 if (lu == 0) in child_thread()
266 if (lu < 0) in child_thread()
269 EVP_DigestUpdate(ctx, buffer + sub, lu); in child_thread()
271 hash_zone(buffer + sub, lu); in child_thread()
272 total += lu; in child_thread()
273 sub += lu; in child_thread()
283 lu = read(fd, buffer, SHA256_DIGEST_LENGTH); in child_thread()
284 if (lu != SHA256_DIGEST_LENGTH) in child_thread()