Searched defs:ScopedAioContext (Results 1 – 1 of 1) sorted by relevance
128 struct ScopedAioContext { struct130 ~ScopedAioContext() { reset(); } in ~ScopedAioContext() argument132 ScopedAioContext(ScopedAioContext&& move) { reset(move.release()); } in ScopedAioContext() function135 ScopedAioContext& operator=(ScopedAioContext&& move) { in operator =() argument141 static ScopedAioContext Create(size_t max_events) { in Create() argument151 aio_context_t release() { in release()157 void reset(aio_context_t new_context = 0) { in reset()165 aio_context_t get() { return context_; } in get()191 aio_context_ = ScopedAioContext::Create(kUsbReadQueueDepth + kUsbWriteQueueDepth); in UsbFfsConnection() argument