Searched refs:TryLock (Results 1 – 6 of 6) sorted by relevance
27 struct TryLock { struct31 #define TRYLOCK_DECL_STATIC(name) struct TryLock name argument34 void trylockInit(struct TryLock *lock);35 void trylockRelease(struct TryLock *lock);36 bool trylockTryTake(struct TryLock *lock); //true if we took it
21 void trylockInit(struct TryLock *lock) in trylockInit()26 void trylockRelease(struct TryLock *lock) in trylockRelease()31 bool trylockTryTake(struct TryLock *lock) in trylockTryTake()
58 bool vsoc::layout::WaitingLockBase::TryLock(uint32_t tid, in TryLock() function in vsoc::vsoc::layout::WaitingLockBase146 if (TryLock(tid, &expected)) { in Lock()
30 if (TryLock(tid, &expected_value)) { in Lock()
32 if (TryLock(tid, &expected_value)) { in Lock()
116 bool TryLock(uint32_t tid, uint32_t* expected_value);