Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/libs/
Dlockref.rs131 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc() localVariable
132 if cmpxchg_result.is_ok() { in inc()
178 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead() localVariable
179 if cmpxchg_result.is_ok() { in inc_not_dead()
180 return cmpxchg_result; in inc_not_dead()
181 } else if cmpxchg_result.unwrap_err() == 1 { in inc_not_dead()
208 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec() localVariable
209 if cmpxchg_result.is_ok() { in dec()
210 return cmpxchg_result; in dec()
239 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return() localVariable
[all …]