Home
last modified time | relevance | path

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

/DragonOS-0.1.8/docs/kernel/sched/
Dkernel_timer.md9 …_LIST`存储系统创建的定时器。创建定时器时,应调用`Timer::new(timer_func,expire_jiffies)`,timer_func为定时器要执行的操作,expire_jif…
32 pub fn new(timer_func: Box<dyn TimerFunction>, expire_jiffies: u64) -> Arc<Self>
39 - expire_jiffies:定时器结束时刻(单位:**jiffies**)
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs72 pub fn new(timer_func: Box<dyn TimerFunction>, expire_jiffies: u64) -> Arc<Self> { in new()
74 expire_jiffies, in new()
103 if elt.0.lock().expire_jiffies > inner_guard.expire_jiffies { in activate()
131 pub expire_jiffies: u64, field
197 if timer_list_front_guard.expire_jiffies > TIMER_JIFFIES.load(Ordering::SeqCst) { in run()
279 return Ok(timer_list.front().unwrap().0.lock().expire_jiffies); in timer_get_first_expire()