Home
last modified time | relevance | path

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

/system/core/adb/
Dtransport_fd.cpp71 std::lock_guard<std::mutex> lock(this->write_mutex_); in Run()
87 std::lock_guard<std::mutex> lock(this->write_mutex_); in Run()
171 WriteResult DispatchWrites() REQUIRES(write_mutex_) { in DispatchWrites()
199 std::lock_guard<std::mutex> lock(write_mutex_); in Write()
228 std::mutex write_mutex_; member
229 bool writable_ GUARDED_BY(write_mutex_) = true;
230 IOVector write_buffer_ GUARDED_BY(write_mutex_);
/system/core/adb/daemon/
Dusb.cpp214 std::lock_guard<std::mutex> lock(write_mutex_); in Write()
594 std::lock_guard<std::mutex> lock(write_mutex_); in HandleWrite()
631 void SubmitWrites() REQUIRES(write_mutex_) { in SubmitWrites()
701 std::mutex write_mutex_; member
702 std::deque<std::unique_ptr<IoBlock>> write_requests_ GUARDED_BY(write_mutex_);
703 size_t next_write_id_ GUARDED_BY(write_mutex_) = 0;
704 size_t writes_submitted_ GUARDED_BY(write_mutex_) = 0;