Lines Matching defs:lock
13 static inline void __rt_spin_lock_init(spinlock_t *lock, const char *name, in __rt_spin_lock_init()
43 static __always_inline void spin_lock(spinlock_t *lock) in spin_lock()
49 # define __spin_lock_nested(lock, subclass) \ argument
52 # define __spin_lock_nest_lock(lock, nest_lock) \ argument
57 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument
70 # define __spin_lock_nested(lock, subclass) spin_lock(((void)(subclass), (lock))) argument
71 # define __spin_lock_nest_lock(lock, subclass) spin_lock(((void)(subclass), (lock))) argument
72 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument
76 #define spin_lock_nested(lock, subclass) \ argument
79 #define spin_lock_nest_lock(lock, nest_lock) \ argument
82 #define spin_lock_irqsave_nested(lock, flags, subclass) \ argument
85 static __always_inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh()
92 static __always_inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq()
97 #define spin_lock_irqsave(lock, flags) \ argument
104 static __always_inline void spin_unlock(spinlock_t *lock) in spin_unlock()
109 static __always_inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh()
115 static __always_inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq()
120 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, in spin_unlock_irqrestore()
126 #define spin_trylock(lock) \ argument
129 #define spin_trylock_bh(lock) \ argument
132 #define spin_trylock_irq(lock) \ argument
135 #define __spin_trylock_irqsave(lock, flags) \ argument
145 #define spin_trylock_irqsave(lock, flags) \ argument
148 #define spin_is_contended(lock) (((void)(lock), 0)) argument
150 static inline int spin_is_locked(spinlock_t *lock) in spin_is_locked()
155 #define assert_spin_locked(lock) BUG_ON(!spin_is_locked(lock)) argument