Home
last modified time | relevance | path

Searched refs:GuardState (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/sync/
A Dlock.rs39 type GuardState; typedef
59 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock() argument
66 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock() argument
74 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock() argument
141 pub(crate) state: B::GuardState,
190 pub(crate) unsafe fn new(lock: &'a Lock<T, B>, state: B::GuardState) -> Self { in new()
/linux/rust/kernel/sync/lock/
A Dmutex.rs95 type GuardState = (); typedef
107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() argument
113 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock() argument
A Dspinlock.rs94 type GuardState = (); typedef
106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock() argument
112 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock() argument

Completed in 7 milliseconds