Home
last modified time | relevance | path

Searched defs:SpinLockGuard (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dspinlock.rs27 pub struct SpinLockGuard<'a, T: 'a> { struct
31 flags: SpinLockGuardFlags, argument
34 impl<'a, T: 'a> SpinLockGuard<'a, T> { argument
177 impl<T> Deref for SpinLockGuard<'_, T> { implementation
186 impl<T> DerefMut for SpinLockGuard<'_, T> { implementation
193 impl<T> Drop for SpinLockGuard<'_, T> { implementation
/DragonOS/kernel/src/sched/
H A Dmod.rs362 pub fn self_lock(&self) -> (&mut Self, Option<SpinLockGuard<()>>) { in self_lock()
389 fn lock(&self) -> SpinLockGuard<()> { in lock()