Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Ddiskcache.cc101 if (LS_LOCKED == entry->lock_state) in LockResource()
103 if ((LS_UNLOCKED == entry->lock_state) && (entry->accessors > 0)) in LockResource()
109 entry->lock_state = LS_LOCKED; in LockResource()
115 if (LS_LOCKED != entry->lock_state) in WriteResource()
143 if (LS_LOCKED != entry->lock_state) in UnlockResource()
147 entry->lock_state = LS_UNLOCKING; in UnlockResource()
149 entry->lock_state = LS_UNLOCKED; in UnlockResource()
159 if (LS_UNLOCKED != entry->lock_state) in ReadResource()
193 if ((LS_UNLOCKED != entry->lock_state) || (entry->accessors > 0)) in DeleteResource()
229 if ((LS_UNLOCKED != it->second.lock_state) || (it->second.accessors > 0)) in CheckLimit()
[all …]
Ddiskcache.h64 LockState lock_state; member