Home
last modified time | relevance | path

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

/include/linux/
Drwlock_types.h12 arch_rwlock_t raw_lock; member
32 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
39 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
Drwlock.h50 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while…
52 do {__acquire(lock); arch_read_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
53 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock)
54 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w…
55 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi…
57 do {__acquire(lock); arch_write_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
58 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock)
59 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }…
Dspinlock_types.h21 arch_spinlock_t raw_lock; member
52 .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
Dspinlock.h109 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)
112 #define raw_spin_is_contended(lock) arch_spin_is_contended(&(lock)->raw_lock)
181 arch_spin_lock(&lock->raw_lock); in do_raw_spin_lock()
193 arch_spin_lock_flags(&lock->raw_lock, *flags); in do_raw_spin_lock_flags()
199 int ret = arch_spin_trylock(&(lock)->raw_lock); in do_raw_spin_trylock()
210 arch_spin_unlock(&lock->raw_lock); in do_raw_spin_unlock()