Home
last modified time | relevance | path

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

/linux/rust/kernel/sync/lock/
A Dmutex.rs95 type GuardState = (); typedef
107 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock()
113 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
A Dspinlock.rs94 type GuardState = (); typedef
106 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState { in lock()
112 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
/linux/rust/kernel/sync/
A Dlock.rs39 type GuardState; typedef
59 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock()
66 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock()
74 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock()

Completed in 11 milliseconds