Lines Matching defs:lock
34 static __always_inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked()
39 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked()
48 static inline unsigned long __arch_spin_trylock(arch_spinlock_t *lock) in __arch_spin_trylock()
69 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
93 static inline void splpar_spin_yield(arch_spinlock_t *lock) {} in splpar_spin_yield()
94 static inline void splpar_rw_yield(arch_rwlock_t *lock) {} in splpar_rw_yield()
97 static inline void spin_yield(arch_spinlock_t *lock) in spin_yield()
105 static inline void rw_yield(arch_rwlock_t *lock) in rw_yield()
113 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
127 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
262 #define arch_spin_relax(lock) spin_yield(lock) argument
263 #define arch_read_relax(lock) rw_yield(lock) argument
264 #define arch_write_relax(lock) rw_yield(lock) argument