Home
last modified time | relevance | path

Searched refs:ioevs (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/mtp/
DMtpFfsHandle.cpp135 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()
[all …]