Lines Matching defs:lock
30 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
49 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
62 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
71 static inline void arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) in arch_spin_lock_flags()
95 static void inline arch_read_lock(arch_rwlock_t *lock) in arch_read_lock()
118 static int inline arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock()
139 static void inline arch_read_unlock(arch_rwlock_t *lock) in arch_read_unlock()
155 static void inline arch_write_lock(arch_rwlock_t *lock) in arch_write_lock()
180 static void inline arch_write_unlock(arch_rwlock_t *lock) in arch_write_unlock()
189 static int inline arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock()
219 #define arch_spin_relax(lock) cpu_relax() argument
220 #define arch_read_relax(lock) cpu_relax() argument
221 #define arch_write_relax(lock) cpu_relax() argument