Home
last modified time | relevance | path

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

/linux/rust/pin-init/examples/
H A Dmutex.rs28 pub struct SpinLock { struct
32 impl SpinLock { argument
57 pub struct SpinLockGuard<'a>(&'a SpinLock);
70 spin_lock: SpinLock,
81 spin_lock: SpinLock::new(), in new()
H A Dstatic_init.rs29 lock: SpinLock,
41 lock: SpinLock::new(), in new()
/linux/rust/kernel/
H A Dsync.rs30 pub use lock::spinlock::{new_spinlock, SpinLock, SpinLockGuard};
79 /// use kernel::sync::{LockClassKey, SpinLock}; in new_dynamic()
86 /// stack_pin_init!(let num: SpinLock<u32> = SpinLock::new( in as_ptr()
129 /// use kernel::sync::{static_lock_class, Arc, SpinLock};
131 /// fn new_locked_int() -> Result<Arc<SpinLock<u32>>> {
132 /// Arc::pin_init(SpinLock::new(
/linux/rust/kernel/sync/lock/
H A Dglobal.rs304 (backend SpinLock) => {
/linux/drivers/android/binder/
H A Dpage_range.rs31 sync::{aref::ARef, Mutex, SpinLock},
138 lock: SpinLock<Inner>,
H A Dthread.rs20 sync::{aref::ARef, Arc, SpinLock},
423 inner: SpinLock<InnerThread>,