Home
last modified time | relevance | path

Searched defs:sl (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) argument
1836 #define CLEAR_LOCK(sl) __sync_lock_release(sl) argument
1840 static FORCEINLINE int x86_cas_lock(int *sl) { in x86_cas_lock()
1851 static FORCEINLINE void x86_clear_lock(int* sl) { in x86_clear_lock()
1861 #define CAS_LOCK(sl) x86_cas_lock(sl) argument
1862 #define CLEAR_LOCK(sl) x86_clear_lock(sl) argument
1865 #define CAS_LOCK(sl) interlockedexchange(sl, (LONG)1) argument
1866 #define CLEAR_LOCK(sl) interlockedexchange (sl, (LONG)0) argument
1885 static int spin_acquire_lock(int *sl) { in spin_acquire_lock()
1896 #define TRY_LOCK(sl) !CAS_LOCK(sl) argument
[all …]