Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/
Dlockref.rs53 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method
123 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method
131 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc()
149 let cmpxchg_res = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero()
178 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead()
208 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec()
239 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return()
267 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseNotZero); in dec_not_zero()
298 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseOrLockNotZero); in dec_or_lock_not_zero()
/DragonOS-0.1.5/docs/kernel/locking/
Dlockref.md53 ## 3. 关于cmpxchg_loop