Lines Matching refs:LockState
28 struct LockState { struct
32 LockState(Kind K) : K(K) {} in LockState() argument
35 static LockState getLocked() { return LockState(Locked); } in getLocked() argument
36 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument
37 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument
39 bool operator==(const LockState &X) const { in operator ==() argument
79 REGISTER_MAP_WITH_PROGRAMSTATE(LockMap, const MemRegion *, LockState) in REGISTER_LIST_WITH_PROGRAMSTATE()
140 if (const LockState *LState = state->get<LockMap>(lockR)) { in AcquireLock()
189 lockSucc = lockSucc->set<LockMap>(lockR, LockState::getLocked()); in AcquireLock()
202 if (const LockState *LState = state->get<LockMap>(lockR)) { in ReleaseLock()
244 state = state->set<LockMap>(lockR, LockState::getUnlocked()); in ReleaseLock()
257 const LockState *LState = State->get<LockMap>(LockR); in DestroyLock()
259 State = State->set<LockMap>(LockR, LockState::getDestroyed()); in DestroyLock()
292 const struct LockState *LState = State->get<LockMap>(LockR); in InitLock()
294 State = State->set<LockMap>(LockR, LockState::getUnlocked()); in InitLock()