Lines Matching defs:lock
28 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
37 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
54 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
64 static inline void arch_spin_lock_flags(arch_spinlock_t *lock, in arch_spin_lock_flags()
166 static inline int arch_read_trylock(arch_rwlock_t *lock) in arch_read_trylock()
176 static inline int arch_write_trylock(arch_rwlock_t *lock) in arch_write_trylock()
185 #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) argument
186 #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) argument
188 #define _raw_spin_relax(lock) cpu_relax() argument
189 #define _raw_read_relax(lock) cpu_relax() argument
190 #define _raw_write_relax(lock) cpu_relax() argument