Home
last modified time | relevance | path

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

/linux/rust/kernel/sync/
H A Dlock.rs45 type GuardState; typedef
65 unsafe fn lock(ptr: *mut Self::State) -> Self::GuardState; in lock()
72 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState>; in try_lock()
79 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock()
87 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock()