Lines Matching refs:spinlock_t
323 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check()
348 static __always_inline void spin_lock(spinlock_t *lock) in spin_lock()
353 static __always_inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh()
358 static __always_inline int spin_trylock(spinlock_t *lock) in spin_trylock()
373 static __always_inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq()
388 static __always_inline void spin_unlock(spinlock_t *lock) in spin_unlock()
393 static __always_inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh()
398 static __always_inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq()
403 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) in spin_unlock_irqrestore()
408 static __always_inline int spin_trylock_bh(spinlock_t *lock) in spin_trylock_bh()
413 static __always_inline int spin_trylock_irq(spinlock_t *lock) in spin_trylock_irq()
441 static __always_inline int spin_is_locked(spinlock_t *lock) in spin_is_locked()
446 static __always_inline int spin_is_contended(spinlock_t *lock) in spin_is_contended()
470 extern int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock);
474 extern int _atomic_dec_and_lock_irqsave(atomic_t *atomic, spinlock_t *lock,
479 int __alloc_bucket_spinlocks(spinlock_t **locks, unsigned int *lock_mask,
494 void free_bucket_spinlocks(spinlock_t *locks);