Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 11 of 11) sorted by relevance

/rust/helpers/
A Dspinlock.c5 void rust_helper___spin_lock_init(spinlock_t *lock, const char *name, in rust_helper___spin_lock_init()
19 void rust_helper_spin_lock(spinlock_t *lock) in rust_helper_spin_lock()
24 void rust_helper_spin_unlock(spinlock_t *lock) in rust_helper_spin_unlock()
29 int rust_helper_spin_trylock(spinlock_t *lock) in rust_helper_spin_trylock()
34 void rust_helper_spin_assert_is_held(spinlock_t *lock) in rust_helper_spin_assert_is_held()
A Dmutex.c5 void rust_helper_mutex_lock(struct mutex *lock) in rust_helper_mutex_lock()
10 int rust_helper_mutex_trylock(struct mutex *lock) in rust_helper_mutex_trylock()
26 void rust_helper_mutex_destroy(struct mutex *lock) in rust_helper_mutex_destroy()
/rust/kernel/sync/lock/
A Dmutex.rs115 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
A Dspinlock.rs114 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
A Dglobal.rs80 pub fn lock(&'static self) -> GlobalGuard<B> { in lock() method
/rust/kernel/
A Dsync.rs16 pub mod lock; module
A Dxarray.rs135 pub fn lock(&self) -> Guard<'_, T> { in lock() method
/rust/pin-init/examples/
A Dstatic_init.rs29 lock: SpinLock, field
A Dpthread_mutex.rs109 pub fn lock(&self) -> PThreadMutexGuard<'_, T> { in lock() method
A Dmutex.rs92 pub fn lock(&self) -> Pin<CMutexGuard<'_, T>> { in lock() method
/rust/kernel/sync/
A Dlock.rs65 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock() method
167 pub fn lock(&self) -> Guard<'_, T, B> { in lock() method

Completed in 16 milliseconds