Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs29 static TIMER_JIFFIES: AtomicU64 = AtomicU64::new(0); constant
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()
299 return TIMER_JIFFIES.load(Ordering::SeqCst); in clock()