Lines Matching refs:ioevs
135 struct io_event ioevs[AIO_BUFS_MAX]; in doAsync() local
146 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync()
156 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync()
461 struct io_event ioevs[AIO_BUFS_MAX]; in receiveFile() local
503 int event_ret = waitEvents(&mIobuf[i], 1, ioevs, &this_events); in receiveFile()
507 cancelEvents(mIobuf[i].iocb.data(), ioevs, num_events, mIobuf[i].actual, in receiveFile()
514 if (static_cast<__u64>(ioevs[j].res) < in receiveFile()
515 reinterpret_cast<struct iocb*>(ioevs[j].obj)->aio_nbytes) { in receiveFile()
518 … short_i = (ioevs[j].obj - reinterpret_cast<uint64_t>(mIobuf[i].iocbs.data())) in receiveFile()
525 if (cancelEvents(mIobuf[i].iocb.data(), ioevs, short_i, mIobuf[i].actual, in receiveFile()
588 struct io_event ioevs[AIO_BUFS_MAX]; in sendFile() local
626 if (waitEvents(&mIobuf[(i-1)%NUM_IO_BUFS], mIobuf[(i-1)%NUM_IO_BUFS].actual, ioevs, in sendFile()
629 cancelEvents(mIobuf[(i-1)%NUM_IO_BUFS].iocb.data(), ioevs, num_events, in sendFile()