Searched refs:spinlock_t (Results 1 – 8 of 8) sorted by relevance
23 } spinlock_t; typedef25 extern void __arch_spin_lock(spinlock_t *lock);26 extern void __arch_spin_unlock(spinlock_t *lock);28 extern void __arch_spin_lock_no_preempt(spinlock_t *lock);29 extern void __arch_spin_unlock_no_preempt(spinlock_t *lock);31 extern long __arch_spin_trylock(spinlock_t *lock);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()[all …]
4 void __arch_spin_lock(spinlock_t *lock) in __arch_spin_lock()10 void __arch_spin_unlock(spinlock_t *lock) in __arch_spin_unlock()16 void __arch_spin_lock_no_preempt(spinlock_t *lock) in __arch_spin_lock_no_preempt()21 void __arch_spin_unlock_no_preempt(spinlock_t *lock) in __arch_spin_unlock_no_preempt()26 long __arch_spin_trylock(spinlock_t *lock) in __arch_spin_trylock()
4 void __arch_spin_lock(spinlock_t *lock) in __arch_spin_lock()19 void __arch_spin_unlock(spinlock_t *lock) in __arch_spin_unlock()25 void __arch_spin_lock_no_preempt(spinlock_t *lock) in __arch_spin_lock_no_preempt()39 void __arch_spin_unlock_no_preempt(spinlock_t *lock) in __arch_spin_unlock_no_preempt()44 long __arch_spin_trylock(spinlock_t *lock) in __arch_spin_trylock()
23 - spinlock_t24 - {ref}`RawSpinLock <_spinlock_doc_rawspinlock>`(Rust版本的spinlock_t,但与spinlock_t不兼容)
24 `RawSpinLock`与C版本的`spinlock_t`不具有二进制兼容性。如果由于暂时的兼容性的需求,要操作C版本的`spinlock_t`,请使用`spinlock.rs`中提供的C版本的s…26 但是,对于新开发的功能,请不要使用C版本的`spinlock_t`,因为随着代码重构的进行,我们将会移除它。
136 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁
86 spinlock_t lock; // 队列需要有一个自旋锁,虽然目前内部并没有使用,但是以后可能会用.
14 static spinlock_t __printk_lock = {1};