Home
last modified time | relevance | path

Searched refs:spin_is_locked (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/common/
Dspinlock.h147 static inline bool spin_is_locked(const spinlock_t *lock) in spin_is_locked() function
153 #define assert_spin_locked(lock) BUG_ON(!spin_is_locked(lock))
/DragonOS-0.1.2/kernel/src/libs/
Dspinlock.rs29 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() function
Dlockref.c13 … while (likely(!spin_is_locked(&old.lock))) \
/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs19 spin_is_locked, spin_lock_irq, spin_lock_irqsave, spin_unlock_irq,
252 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
388 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()