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()
176 WriteResult DispatchWrites() REQUIRES(write_mutex_) { in DispatchWrites()
203 std::lock_guard<std::mutex> lock(write_mutex_); in Write()
232 std::mutex write_mutex_; member
233 bool writable_ GUARDED_BY(write_mutex_) = true;
234 IOVector write_buffer_ GUARDED_BY(write_mutex_);
/system/core/adb/daemon/
Dusb.cpp215 std::lock_guard<std::mutex> lock(write_mutex_); in Write()
454 std::lock_guard<std::mutex> lock(write_mutex_); in StartWorker()
629 std::lock_guard<std::mutex> lock(write_mutex_); in HandleWrite()
663 void SubmitWrites() REQUIRES(write_mutex_) { in SubmitWrites()
733 std::mutex write_mutex_; member
734 std::deque<IoWriteBlock> write_requests_ GUARDED_BY(write_mutex_);
735 size_t next_write_id_ GUARDED_BY(write_mutex_) = 0;
736 size_t writes_submitted_ GUARDED_BY(write_mutex_) = 0;