Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/kernel/src/time/
Dtimer.rs64 pub fn new(timer_func: Box<dyn TimerFunction>, expire_jiffies: u64) -> Arc<Self> { in new()
66 expire_jiffies, in new()
95 if elt.0.lock().expire_jiffies > inner_guard.expire_jiffies { in activate()
116 pub expire_jiffies: u64, field
182 if timer_list_front_guard.expire_jiffies > unsafe { TIMER_JIFFIES as u64 } { in run()
262 return Ok(timer_list.front().unwrap().0.lock().expire_jiffies); in timer_get_first_expire()