Home
last modified time | relevance | path

Searched refs:cmpxchg_loop (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dlockref.rs50 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method
120 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method
128 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc()
146 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero()
174 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead()
204 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec()
235 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return()
264 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseNotZero); in dec_not_zero()
295 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseOrLockNotZero); in dec_or_lock_not_zero()
/DragonOS-0.1.8/docs/kernel/locking/
Dlockref.md53 ## 3. 关于cmpxchg_loop