Searched refs:lock_mutex (Results 1 – 6 of 6) sorted by relevance
85 arch_spin_lock(&(rw->lock_mutex)); in arch_read_trylock()96 arch_spin_unlock(&(rw->lock_mutex)); in arch_read_trylock()109 arch_spin_lock(&(rw->lock_mutex)); in arch_write_trylock()121 arch_spin_unlock(&(rw->lock_mutex)); in arch_write_trylock()144 arch_spin_lock(&(rw->lock_mutex)); in arch_read_unlock()146 arch_spin_unlock(&(rw->lock_mutex)); in arch_read_unlock()155 arch_spin_lock(&(rw->lock_mutex)); in arch_write_unlock()157 arch_spin_unlock(&(rw->lock_mutex)); in arch_write_unlock()
25 arch_spinlock_t lock_mutex; member32 #define __ARCH_RW_LOCK_UNLOCKED { .lock_mutex = __ARCH_SPIN_LOCK_UNLOCKED, \
304 arch_spin_lock(&(rw->lock_mutex)); in arch_read_trylock()315 arch_spin_unlock(&(rw->lock_mutex)); in arch_read_trylock()328 arch_spin_lock(&(rw->lock_mutex)); in arch_write_trylock()340 arch_spin_unlock(&(rw->lock_mutex)); in arch_write_trylock()363 arch_spin_lock(&(rw->lock_mutex)); in arch_read_unlock()365 arch_spin_unlock(&(rw->lock_mutex)); in arch_read_unlock()374 arch_spin_lock(&(rw->lock_mutex)); in arch_write_unlock()376 arch_spin_unlock(&(rw->lock_mutex)); in arch_write_unlock()
27 arch_spinlock_t lock_mutex; member
42 struct mutex lock_mutex; member71 mutex_lock(&bus->master->lock_mutex); in snd_i2c_lock()73 mutex_lock(&bus->lock_mutex); in snd_i2c_lock()79 mutex_unlock(&bus->master->lock_mutex); in snd_i2c_unlock()81 mutex_unlock(&bus->lock_mutex); in snd_i2c_unlock()
78 mutex_init(&bus->lock_mutex); in snd_i2c_bus_create()