Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 7 of 7) sorted by relevance

/rust/helpers/
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()
15 void rust_helper___mutex_init(struct mutex *mutex, const char *name, in rust_helper___mutex_init() argument
18 __mutex_init(mutex, name, key); in rust_helper___mutex_init()
21 void rust_helper_mutex_assert_is_held(struct mutex *mutex) in rust_helper_mutex_assert_is_held() argument
23 lockdep_assert_held(mutex); in rust_helper_mutex_assert_is_held()
26 void rust_helper_mutex_destroy(struct mutex *lock) in rust_helper_mutex_destroy()
/rust/kernel/sync/lock/
A Dmutex.rs102 type State = bindings::mutex;
A Dglobal.rs297 $crate::sync::lock::mutex::MutexBackend
/rust/pin-init/examples/
A Dstatic_init.rs23 mod mutex; module
24 use mutex::*;
/rust/kernel/
A Dsync.rs25 pub use lock::mutex::{new_mutex, Mutex, MutexGuard};
/rust/kernel/sync/
A Dlock.rs16 pub mod mutex; module
/rust/pin-init/
A DREADME.md68 `../examples/mutex.rs`. It is essentially a userland rebuild of the `struct mutex` type from

Completed in 17 milliseconds