Lines Matching refs:step
81 step: Cell<u32>, field
96 Backoff { step: Cell::new(0) } in new()
111 self.step.set(0); in reset()
147 for _ in 0..1 << self.step.get().min(SPIN_LIMIT) { in spin()
154 if self.step.get() <= SPIN_LIMIT { in spin()
155 self.step.set(self.step.get() + 1); in spin()
209 if self.step.get() <= SPIN_LIMIT { in snooze()
210 for _ in 0..1 << self.step.get() { in snooze()
218 for _ in 0..1 << self.step.get() { in snooze()
229 if self.step.get() <= YIELD_LIMIT { in snooze()
230 self.step.set(self.step.get() + 1); in snooze()
277 self.step.get() > YIELD_LIMIT in is_completed()
284 .field("step", &self.step) in fmt()