Lines Matching refs:cmpxchg_result

128         let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase);  in inc()  localVariable
129 if cmpxchg_result.is_ok() { in inc()
146 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero() localVariable
147 if cmpxchg_result.is_ok() { in inc_not_zero()
148 return Ok(cmpxchg_result.unwrap()); in inc_not_zero()
149 } else if cmpxchg_result.unwrap_err() == 1 { in inc_not_zero()
174 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead() localVariable
175 if cmpxchg_result.is_ok() { in inc_not_dead()
176 return Ok(cmpxchg_result.unwrap()); in inc_not_dead()
177 } else if cmpxchg_result.unwrap_err() == 1 { in inc_not_dead()
204 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec() localVariable
205 if cmpxchg_result.is_ok() { in dec()
206 return Ok(cmpxchg_result.unwrap()); in dec()
235 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return() localVariable
236 if cmpxchg_result.is_ok() { in dec_return()
237 return Ok(cmpxchg_result.unwrap()); in dec_return()
238 } else if *cmpxchg_result.as_ref().unwrap_err() == 1 { in dec_return()
242 if *cmpxchg_result.as_ref().unwrap_err() in dec_return()
264 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseNotZero); in dec_not_zero() localVariable
265 if cmpxchg_result.is_ok() { in dec_not_zero()
266 return Ok(cmpxchg_result.unwrap()); in dec_not_zero()
267 } else if cmpxchg_result.unwrap_err() == 1 { in dec_not_zero()
295 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseOrLockNotZero); in dec_or_lock_not_zero() localVariable
296 if cmpxchg_result.is_ok() { in dec_or_lock_not_zero()
297 return Ok(cmpxchg_result.unwrap()); in dec_or_lock_not_zero()