Home
last modified time | relevance | path

Searched refs:LockClassKey (Results 1 – 6 of 6) sorted by relevance

/linux/rust/kernel/
H A Dsync.rs40 pub struct LockClassKey {
47 unsafe impl Send for LockClassKey {} implementation
51 unsafe impl Sync for LockClassKey {}
53 impl LockClassKey {
62 /// * The destructor must never run on the returned `LockClassKey`.
64 LockClassKey {
79 /// use kernel::sync::{LockClassKey, SpinLock}; in new_dynamic()
82 /// let key = KBox::pin_init(LockClassKey::new_dynamic(), GFP_KERNEL)?; in new_dynamic()
91 /// unsafe { <Pin<KBox<LockClassKey>> as ForeignOwnable>::borrow(key_ptr) } in drop()
97 /// unsafe { drop(<Pin<KBox<LockClassKey>> a
38 pub struct LockClassKey { global() struct
45 unsafe impl Sync for LockClassKey {} global() implementation
90 impl PinnedDrop for LockClassKey { global() implementation
[all...]
H A Dworkqueue.rs193 sync::LockClassKey,
497 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> in new()
667 work_key: Pin<&'static LockClassKey>, in new() argument
669 timer_key: Pin<&'static LockClassKey>, in new() argument
/linux/rust/kernel/sync/lock/
H A Dglobal.rs10 sync::{LockClassKey, LockedBy},
30 fn get_lock_class() -> Pin<&'static LockClassKey>; in get_lock_class()
279 fn get_lock_class() -> Pin<&'static $crate::sync::LockClassKey> {
/linux/rust/kernel/sync/
H A Dpoll.rs11 sync::{CondVar, LockClassKey},
76 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
H A Dcondvar.rs8 use super::{lock::Backend, lock::Guard, LockClassKey};
103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
H A Dlock.rs8 use super::LockClassKey;
134 key: Pin<&'static LockClassKey>, in new() argument