Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/include/linux/
Dspinlock.h40 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock)
42 #define spin_unlock_wait(lock) __raw_spin_unlock_wait(&(lock)->raw_lock)
46 #define _raw_spin_lock(lock) __raw_spin_lock(&(lock)->raw_lock)
47 #define _raw_spin_lock_flags(lock, flags) __raw_spin_lock_flags(&(lock)->raw_lock, *(flags))
48 #define _raw_spin_trylock(lock) __raw_spin_trylock(&(lock)->raw_lock)
49 #define _raw_spin_unlock(lock) __raw_spin_unlock(&(lock)->raw_lock)
50 #define _raw_read_lock(rwlock) __raw_read_lock(&(rwlock)->raw_lock)
51 #define _raw_read_trylock(rwlock) __raw_read_trylock(&(rwlock)->raw_lock)
52 #define _raw_read_unlock(rwlock) __raw_read_unlock(&(rwlock)->raw_lock)
53 #define _raw_write_lock(rwlock) __raw_write_lock(&(rwlock)->raw_lock)
[all …]
Dspinlock_types.h20 raw_spinlock_t raw_lock; member
26 raw_rwlock_t raw_lock; member
37 #define __SPIN_LOCK_UNLOCKED(lockname) (spinlock_t) { .raw_lock = __RAW_SPIN_LOCK_UNLOCKED, SPI…
38 #define __RW_LOCK_UNLOCKED(lockname) (rwlock_t) { .raw_lock = __RAW_RW_LOCK_UNLOCKED, RW_DEP_MA…