Searched defs:lock (Results 1 – 8 of 8) sorted by relevance
6 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()
5 void rust_helper_lockdep_set_class_rwsem(struct rw_semaphore *lock, struct lock_class_key *key, in rust_helper_lockdep_set_class_rwsem()
6 void rust_helper_mutex_lock(struct mutex *lock) in rust_helper_mutex_lock()
12 pub mod lock; module
67 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock() method139 pub fn lock(&self) -> Guard<'_, T, B> { in lock() method164 pub(crate) lock: &'a Lock<T, B>, field
107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() method
79 pub fn lock(&'static self) -> GlobalGuard<B> { in lock() method