Searched refs:CmpxchgMode (Results 1 – 1 of 1) sorted by relevance
25 enum CmpxchgMode { enum53 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop()71 CmpxchgMode::Increase => { in cmpxchg_loop()74 CmpxchgMode::IncreaseNotZero => { in cmpxchg_loop()82 CmpxchgMode::IncreaseNotDead => { in cmpxchg_loop()89 CmpxchgMode::Decrease | CmpxchgMode::DecreaseReturn => { in cmpxchg_loop()95 CmpxchgMode::DecreaseNotZero | CmpxchgMode::DecreaseOrLockNotZero => { in cmpxchg_loop()123 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop()131 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc()149 let cmpxchg_res = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero()[all …]