Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Dspinlock_debug.c26 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 …]
A Dspinlock.c76 arch_##op##_relax(&lock->raw_lock); \
92 arch_##op##_relax(&lock->raw_lock); \
/linux/include/linux/
A Drwlock.h39 # 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); }…
118 arch_rwlock_is_contended(&(lock)->raw_lock)
A Drwlock_types.h26 arch_rwlock_t raw_lock; member
40 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
47 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \
A Dspinlock.h114 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock)
117 #define raw_spin_is_contended(lock) arch_spin_is_contended(&(lock)->raw_lock)
185 arch_spin_lock(&lock->raw_lock); in do_raw_spin_lock()
191 int ret = arch_spin_trylock(&(lock)->raw_lock); in do_raw_spin_trylock()
202 arch_spin_unlock(&lock->raw_lock); in do_raw_spin_unlock()
A Dspinlock_types_raw.h15 arch_spinlock_t raw_lock; member
64 .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
A Dspinlock_types.h33 .raw_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
/linux/net/ieee802154/
A Dsocket.c171 static DEFINE_RWLOCK(raw_lock);
175 write_lock_bh(&raw_lock); in raw_hash()
178 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()
361 read_lock(&raw_lock); in ieee802154_raw_deliver()
374 read_unlock(&raw_lock); in ieee802154_raw_deliver()
/linux/arch/powerpc/kvm/
A Dbook3s_hv_rm_mmu.c254 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
269 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
283 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
944 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
956 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
972 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
987 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
A Dbook3s_64_vio_hv.c543 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_rm_h_put_tce_indirect()
588 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_rm_h_put_tce_indirect()
/linux/arch/parisc/include/asm/
A Dmmu_context.h58 mtctl(__pa(__ldcw_align(&pgd_lock->rlock.raw_lock)), 28); in switch_mm_irqs_off()
/linux/lib/
A Dlockref.c16 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
/linux/kernel/bpf/
A Dhashtab.c84 raw_spinlock_t raw_lock; member
147 raw_spin_lock_init(&htab->buckets[i].raw_lock); in htab_init_buckets()
148 lockdep_set_class(&htab->buckets[i].raw_lock, in htab_init_buckets()
175 raw_spin_lock_irqsave(&b->raw_lock, flags); in htab_lock_bucket()
189 raw_spin_unlock_irqrestore(&b->raw_lock, flags); in htab_unlock_bucket()

Completed in 19 milliseconds