Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/kernel/src/libs/
Dlockref.c13 … while (likely(!spin_is_locked(&old.lock))) \
Dspinlock.rs35 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() function
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs24 spin_is_locked, spin_lock_irq, spin_lock_irqsave, spin_unlock_irq,
272 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
423 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()