Home
last modified time | relevance | path

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

/rust/helpers/
Dspinlock.c6 void rust_helper___spin_lock_init(spinlock_t *lock, const char *name, in rust_helper___spin_lock_init()
20 void rust_helper_spin_lock(spinlock_t *lock) in rust_helper_spin_lock()
25 void rust_helper_spin_unlock(spinlock_t *lock) in rust_helper_spin_unlock()
30 int rust_helper_spin_trylock(spinlock_t *lock) in rust_helper_spin_trylock()
Dmman.c5 void rust_helper_lockdep_set_class_rwsem(struct rw_semaphore *lock, struct lock_class_key *key, in rust_helper_lockdep_set_class_rwsem()
Dmutex.c6 void rust_helper_mutex_lock(struct mutex *lock) in rust_helper_mutex_lock()
/rust/kernel/
Dsync.rs12 pub mod lock; module
/rust/kernel/sync/
Dlock.rs67 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock() method
139 pub fn lock(&self) -> Guard<'_, T, B> { in lock() method
164 pub(crate) lock: &'a Lock<T, B>, field
/rust/kernel/sync/lock/
Dmutex.rs107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
Dspinlock.rs106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
Dglobal.rs79 pub fn lock(&'static self) -> GlobalGuard<B> { in lock() method