Lines Matching defs:lock
22 int8_t lock; // 1:unlocked 0:locked member
38 void spin_lock(spinlock_t *lock) in spin_lock()
48 void spin_unlock(spinlock_t *lock) in spin_unlock()
58 void spin_init(spinlock_t *lock) in spin_init()
70 void spin_lock_no_preempt(spinlock_t *lock) in spin_lock_no_preempt()
80 void spin_unlock_no_preempt(spinlock_t *lock) in spin_unlock_no_preempt()
91 long spin_trylock(spinlock_t *lock) in spin_trylock()
100 #define spin_lock_irqsave(lock, flags) … argument
111 #define spin_unlock_irqrestore(lock, flags) … argument
122 #define spin_lock_irq(lock) … argument
133 #define spin_unlock_irq(lock) … argument
147 static inline bool spin_is_locked(const spinlock_t *lock) in spin_is_locked()
153 #define assert_spin_locked(lock) BUG_ON(!spin_is_locked(lock)) argument