Searched refs:LS_UNLOCKED (Results 1 – 2 of 2) sorted by relevance
103 if ((LS_UNLOCKED == entry->lock_state) && (entry->accessors > 0)) in LockResource()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()307 e.lock_state = LS_UNLOCKED; in GetOrCreateEntry()327 if (LS_UNLOCKED != entry->lock_state) { in ReleaseResource()341 entry2->lock_state = LS_UNLOCKED; in ReleaseResource()
62 enum LockState { LS_UNLOCKED, LS_LOCKED, LS_UNLOCKING }; enumerator