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()
68 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
92 static inline void splpar_spin_yield(arch_spinlock_t *lock) {} in splpar_spin_yield()
93 static inline void splpar_rw_yield(arch_rwlock_t *lock) {} in splpar_rw_yield()
96 static inline void spin_yield(arch_spinlock_t *lock) in spin_yield()
104 static inline void rw_yield(arch_rwlock_t *lock) in rw_yield()
112 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
126 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
259 #define arch_spin_relax(lock) spin_yield(lock) argument
260 #define arch_read_relax(lock) rw_yield(lock) argument
261 #define arch_write_relax(lock) rw_yield(lock) argument