Lines Matching refs:Ordering
4 sync::atomic::{compiler_fence, AtomicBool, AtomicU64, Ordering},
48 let result = TIMER_JIFFIES.load(Ordering::SeqCst) + self.data(); in timer_jiffies()
153 compiler_fence(Ordering::SeqCst); in activate()
234 .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed); in set_run()
239 self.running.store(false, Ordering::Release); in clear_run()
263 if front_jiffies >= TIMER_JIFFIES.load(Ordering::SeqCst) { in run()
288 return TIMER_JIFFIES.load(Ordering::SeqCst) + expire_ms * 1000000 / NSEC_PER_JIFFY as u64; in next_n_ms_timer_jiffies()
292 return TIMER_JIFFIES.load(Ordering::SeqCst) + expire_us * 1000 / NSEC_PER_JIFFY as u64; in next_n_us_timer_jiffies()
317 timeout += TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
328 let time_remaining: i64 = timeout - TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
377 let prev = TIMER_JIFFIES.fetch_add(add_jiffies, Ordering::SeqCst); in update_timer_jiffies()
378 compiler_fence(Ordering::SeqCst); in update_timer_jiffies()
381 compiler_fence(Ordering::SeqCst); in update_timer_jiffies()
386 return TIMER_JIFFIES.load(Ordering::SeqCst); in clock()