Home
last modified time | relevance | path

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

/rust/kernel/sync/lock/
Dmutex.rs119 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock() method
Dspinlock.rs118 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState> { in try_lock() method
Dglobal.rs86 pub fn try_lock(&'static self) -> Option<GlobalGuard<B>> { in try_lock() method
/rust/kernel/sync/
Dlock.rs74 unsafe fn try_lock(ptr: *mut Self::State) -> Option<Self::GuardState>; in try_lock() method
150 pub fn try_lock(&self) -> Option<Guard<'_, T, B>> { in try_lock() method