Home
last modified time | relevance | path

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

/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c1835 #define CAS_LOCK(sl) __sync_lock_test_and_set(sl, 1) macro
1861 #define CAS_LOCK(sl) x86_cas_lock(sl) macro
1865 #define CAS_LOCK(sl) interlockedexchange(sl, (LONG)1) macro
1887 while (*(volatile int *)sl != 0 || CAS_LOCK(sl)) { in spin_acquire_lock()
1896 #define TRY_LOCK(sl) !CAS_LOCK(sl)
1898 #define ACQUIRE_LOCK(sl) (CAS_LOCK(sl)? spin_acquire_lock(sl) : 0)
1941 if (!CAS_LOCK(&lk->sl)) { in recursive_acquire_lock()
1960 if (!CAS_LOCK(&lk->sl)) { in recursive_try_lock()