Lines Matching refs:lock
5 void rust_helper___spin_lock_init(spinlock_t *lock, const char *name, in rust_helper___spin_lock_init() argument
10 __spin_lock_init(lock, name, key, false); in rust_helper___spin_lock_init()
12 __raw_spin_lock_init(spinlock_check(lock), name, key, LD_WAIT_CONFIG); in rust_helper___spin_lock_init()
15 spin_lock_init(lock); in rust_helper___spin_lock_init()
19 void rust_helper_spin_lock(spinlock_t *lock) in rust_helper_spin_lock() argument
21 spin_lock(lock); in rust_helper_spin_lock()
24 void rust_helper_spin_unlock(spinlock_t *lock) in rust_helper_spin_unlock() argument
26 spin_unlock(lock); in rust_helper_spin_unlock()
29 int rust_helper_spin_trylock(spinlock_t *lock) in rust_helper_spin_trylock() argument
31 return spin_trylock(lock); in rust_helper_spin_trylock()
34 void rust_helper_spin_assert_is_held(spinlock_t *lock) in rust_helper_spin_assert_is_held() argument
36 lockdep_assert_held(lock); in rust_helper_spin_assert_is_held()