Searched refs:SpinLock (Results 1 – 6 of 6) sorted by relevance
| /linux/rust/pin-init/examples/ |
| H A D | mutex.rs | 28 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 D | static_init.rs | 29 lock: SpinLock, 41 lock: SpinLock::new(), in new()
|
| /linux/rust/kernel/ |
| H A D | sync.rs | 30 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 D | global.rs | 304 (backend SpinLock) => {
|
| /linux/drivers/android/binder/ |
| H A D | page_range.rs | 31 sync::{aref::ARef, Mutex, SpinLock}, 138 lock: SpinLock<Inner>,
|
| H A D | thread.rs | 20 sync::{aref::ARef, Arc, SpinLock}, 423 inner: SpinLock<InnerThread>,
|