Searched defs:lock (Results 1 – 11 of 11) sorted by relevance
22 int8_t lock; // 1:unlocked 0:locked member38 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) … argument111 #define spin_unlock_irqrestore(lock, flags) … argument122 #define spin_lock_irq(lock) … argument[all …]
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()
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()
18 lock: AtomicBool, field28 lock: &'a SpinLock<T>, field71 pub fn lock(&self) -> SpinLockGuard<T> { in lock() method
39 lock: &'a Mutex<T>, field61 pub fn lock(&self) -> MutexGuard<T> { in lock() method
39 lock: AtomicU32, field47 lock: &'a AtomicU32, field
73 pub fn lock() -> Self { in lock() method
66 pub fn lock() -> Self { in lock() method
899 pub fn lock(&self) -> SpinLockGuard<VMA> { in lock() method
59 uint32_t lock; member
134 pub fn lock(&self) -> SpinLockGuard<DevsMap> { in lock() method