Lines Matching refs:Ordering
4 sync::atomic::{compiler_fence, AtomicBool, AtomicU64, Ordering},
97 compiler_fence(Ordering::SeqCst); in activate()
153 .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed); in set_run()
162 self.running.store(false, Ordering::Release); in clear_run()
197 if timer_list_front_guard.expire_jiffies > TIMER_JIFFIES.load(Ordering::SeqCst) { in run()
223 return TIMER_JIFFIES.load(Ordering::SeqCst) + 1000 * (expire_ms); in next_n_ms_timer_jiffies()
227 return TIMER_JIFFIES.load(Ordering::SeqCst) + (expire_us); in next_n_us_timer_jiffies()
249 timeout += TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
257 let time_remaining: i64 = timeout - TIMER_JIFFIES.load(Ordering::SeqCst) as i64; in schedule_timeout()
290 let prev = TIMER_JIFFIES.fetch_add(add_jiffies, Ordering::SeqCst); in update_timer_jiffies()
291 compiler_fence(Ordering::SeqCst); in update_timer_jiffies()
294 compiler_fence(Ordering::SeqCst); in update_timer_jiffies()
299 return TIMER_JIFFIES.load(Ordering::SeqCst); in clock()