Searched defs:ScopedAioContext (Results 1 – 1 of 1) sorted by relevance
100 struct ScopedAioContext { struct102 ~ScopedAioContext() { reset(); } in ~ScopedAioContext() argument104 ScopedAioContext(ScopedAioContext&& move) { reset(move.release()); } in ScopedAioContext() argument107 ScopedAioContext& operator=(ScopedAioContext&& move) { in operator =() argument113 static ScopedAioContext Create(size_t max_events) { in Create() argument123 aio_context_t release() { in release()129 void reset(aio_context_t new_context = 0) { in reset()137 aio_context_t get() { return context_; } in get()163 aio_context_ = ScopedAioContext::Create(kUsbReadQueueDepth + kUsbWriteQueueDepth); in UsbFfsConnection() argument