Lines Matching refs:aio
170 struct aiocb aio; in receiveFile() local
171 aio.aio_fildes = mfr.fd; in receiveFile()
172 aio.aio_buf = nullptr; in receiveFile()
173 struct aiocb *aiol[] = {&aio}; in receiveFile()
200 int written = aio_return(&aio); in receiveFile()
202 errno = aio_error(&aio); in receiveFile()
205 if (static_cast<size_t>(written) < aio.aio_nbytes) { in receiveFile()
227 aio_prepare(&aio, data, length, offset); in receiveFile()
228 aio_write(&aio); in receiveFile()
263 struct aiocb aio; in sendFile() local
264 aio.aio_fildes = mfr.fd; in sendFile()
265 struct aiocb *aiol[] = {&aio}; in sendFile()
293 ret = aio_return(&aio); in sendFile()
295 errno = aio_error(&aio); in sendFile()
298 if (static_cast<size_t>(ret) < aio.aio_nbytes) { in sendFile()
317 aio_prepare(&aio, data, length, offset); in sendFile()
318 aio_read(&aio); in sendFile()