Home
last modified time | relevance | path

Searched refs:TryLock (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Dtrylock.h27 struct TryLock { struct
31 #define TRYLOCK_DECL_STATIC(name) struct TryLock name argument
34 void trylockInit(struct TryLock *lock);
35 void trylockRelease(struct TryLock *lock);
36 bool trylockTryTake(struct TryLock *lock); //true if we took it
/device/google/contexthub/firmware/os/core/
Dtrylock.c21 void trylockInit(struct TryLock *lock) in trylockInit()
26 void trylockRelease(struct TryLock *lock) in trylockRelease()
31 bool trylockTryTake(struct TryLock *lock) in trylockTryTake()
/device/google/cuttlefish_common/common/vsoc/lib/
Dlock_common.cpp58 bool vsoc::layout::WaitingLockBase::TryLock(uint32_t tid, in TryLock() function in vsoc::vsoc::layout::WaitingLockBase
146 if (TryLock(tid, &expected)) { in Lock()
/device/google/cuttlefish_common/guest/vsoc/lib/
Dguest_lock.cpp30 if (TryLock(tid, &expected_value)) { in Lock()
/device/google/cuttlefish_common/host/vsoc/lib/
Dhost_lock.cpp32 if (TryLock(tid, &expected_value)) { in Lock()
/device/google/cuttlefish_common/common/vsoc/shm/
Dlock.h116 bool TryLock(uint32_t tid, uint32_t* expected_value);