Searched refs:ioevs (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 134 struct io_event ioevs[AIO_BUFS_MAX]; in doAsync() local 145 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync() 155 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync() 452 struct io_event ioevs[AIO_BUFS_MAX]; in receiveFile() local 494 int event_ret = waitEvents(&mIobuf[i], 1, ioevs, &this_events); in receiveFile() 498 cancelEvents(mIobuf[i].iocb.data(), ioevs, num_events, mIobuf[i].actual); in receiveFile() 504 if (static_cast<__u64>(ioevs[j].res) < in receiveFile() 505 reinterpret_cast<struct iocb*>(ioevs[j].obj)->aio_nbytes) { in receiveFile() 508 … short_i = (ioevs[j].obj - reinterpret_cast<uint64_t>(mIobuf[i].iocbs.data())) in receiveFile() 515 if (cancelEvents(mIobuf[i].iocb.data(), ioevs, short_i, mIobuf[i].actual)) { in receiveFile() [all …]
|