Home
last modified time | relevance | path

Searched refs:SpinLock (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/rust/pin-init/examples/
H A Dmutex.rs26 pub struct SpinLock { struct
30 impl SpinLock { implementation
54 pub struct SpinLockGuard<'a>(&'a SpinLock);
67 spin_lock: SpinLock,
78 spin_lock: SpinLock::new(), in new()
H A Dstatic_init.rs26 lock: SpinLock,
38 lock: SpinLock::new(), in new()
/linux-6.15/rust/kernel/sync/lock/
H A Dspinlock.rs14 $crate::sync::SpinLock::new(
85 pub type SpinLock<T> = super::Lock<T, SpinLockBackend>; typedef
H A Dglobal.rs299 (backend SpinLock) => {
/linux-6.15/rust/kernel/
H A Dsync.rs23 pub use lock::spinlock::{new_spinlock, SpinLock, SpinLockGuard};