Home
last modified time | relevance | path

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

/rust/kernel/sync/lock/
Dspinlock.rs94 type State = bindings::spinlock_t; typedef
98 ptr: *mut Self::State, in init()
113 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
Dmutex.rs95 type State = bindings::mutex; typedef
99 ptr: *mut Self::State, in init()
114 unsafe fn unlock(ptr: *mut Self::State, _guard_state: &Self::GuardState) { in unlock()
/rust/kernel/sync/
Dlock.rs29 type State; typedef
41 ptr: *mut Self::State, in init()
59 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock()
67 unsafe fn relock(ptr: *mut Self::State, guard_state: &mut Self::GuardState) { in relock()