Home
last modified time | relevance | path

Searched refs:SpinLock (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/rust/kernel/sync/lock/
H A Dspinlock.rs9 /// Creates a [`SpinLock`] initialiser with the given name and a newly-created lock class.
16 $crate::sync::SpinLock::new(
27 /// Instances of [`SpinLock`] need a lock class and to be pinned. The recommended way to create such
36 /// use kernel::{init::InPlaceInit, init::PinInit, new_spinlock, pin_init, sync::SpinLock};
47 /// d: SpinLock<Inner>,
71 /// use kernel::sync::SpinLock;
78 /// fn example(m: &SpinLock<Example>) {
86 pub type SpinLock<T> = super::Lock<T, SpinLockBackend>; types
/kernel/linux/linux-6.6/rust/kernel/
H A Dsync.rs17 pub use lock::{mutex::Mutex, spinlock::SpinLock};

Completed in 1 milliseconds