Searched refs:num_read (Results 1 – 2 of 2) sorted by relevance
573 int length, num_read; in sendFile() local622 num_read = aio_return(&aio); in sendFile()623 if (static_cast<size_t>(num_read) < aio.aio_nbytes) { in sendFile()624 errno = num_read == -1 ? aio_error(&aio) : EIO; in sendFile()630 file_length -= num_read; in sendFile()631 offset += num_read; in sendFile()638 if (iobufSubmit(&mIobuf[i], mBulkIn, num_read, false) == -1) { in sendFile()642 ret = num_read; in sendFile()
377 ssize_t num_read = getline(&line, &len, file); in get_cpuset_cores_for_policy() local379 if (num_read > 0) { in get_cpuset_cores_for_policy()