Searched refs:raw_lock (Results 1 – 12 of 12) sorted by relevance
26 lock->raw_lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; in __raw_spin_lock_init()45 lock->raw_lock = (arch_rwlock_t) __ARCH_RW_LOCK_UNLOCKED; in __rwlock_init()115 arch_spin_lock(&lock->raw_lock); in do_raw_spin_lock()122 int ret = arch_spin_trylock(&lock->raw_lock); in do_raw_spin_trylock()141 arch_spin_unlock(&lock->raw_lock); in do_raw_spin_unlock()161 arch_read_lock(&lock->raw_lock); in do_raw_read_lock()166 int ret = arch_read_trylock(&lock->raw_lock); in do_raw_read_trylock()180 arch_read_unlock(&lock->raw_lock); in do_raw_read_unlock()210 arch_write_lock(&lock->raw_lock); in do_raw_write_lock()216 int ret = arch_write_trylock(&lock->raw_lock); in do_raw_write_trylock()[all …]
76 arch_##op##_relax(&lock->raw_lock); \92 arch_##op##_relax(&lock->raw_lock); \
39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while…40 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock)41 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w…42 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi…43 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock)44 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }…124 arch_rwlock_is_contended(&(lock)->raw_lock)
26 arch_rwlock_t raw_lock; member40 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \47 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
15 arch_spinlock_t raw_lock; member64 .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
116 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)119 #define raw_spin_is_contended(lock) arch_spin_is_contended(&(lock)->raw_lock)187 arch_spin_lock(&lock->raw_lock); in do_raw_spin_lock()193 int ret = arch_spin_trylock(&(lock)->raw_lock); in do_raw_spin_trylock()204 arch_spin_unlock(&lock->raw_lock); in do_raw_spin_unlock()
33 .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
171 static DEFINE_RWLOCK(raw_lock);175 write_lock_bh(&raw_lock); in raw_hash()177 write_unlock_bh(&raw_lock); in raw_hash()185 write_lock_bh(&raw_lock); in raw_unhash()188 write_unlock_bh(&raw_lock); in raw_unhash()366 read_lock(&raw_lock); in ieee802154_raw_deliver()379 read_unlock(&raw_lock); in ieee802154_raw_deliver()
58 mtctl(__pa(__ldcw_align(&pgd_lock->rlock.raw_lock)), 28); in switch_mm_irqs_off()
248 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()263 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()277 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()938 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()950 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()966 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()981 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
16 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
80 raw_spinlock_t raw_lock; member142 raw_spin_lock_init(&htab->buckets[i].raw_lock); in htab_init_buckets()143 lockdep_set_class(&htab->buckets[i].raw_lock, in htab_init_buckets()166 raw_spin_lock(&b->raw_lock); in htab_lock_bucket()177 raw_spin_unlock(&b->raw_lock); in htab_unlock_bucket()