Searched refs:AlarmTimer (Results 1 – 3 of 3) sorted by relevance
15 pub struct AlarmTimer { struct22 impl AlarmTimer { argument39 let result = AlarmTimer { in new()64 pub fn alarm_timer_init(pid: Pid, second: u64) -> AlarmTimer { in alarm_timer_init() argument67 let alarmtimer = AlarmTimer::new(timerfunc, second); in alarm_timer_init()
66 use timer::AlarmTimer;660 alarm_timer: SpinLock<Option<AlarmTimer>>,1042 pub fn alarm_timer_irqsave(&self) -> SpinLockGuard<Option<AlarmTimer>> { in alarm_timer_irqsave() argument
9 process::{timer::AlarmTimer, ProcessManager},178 let new_alarm = Some(AlarmTimer::alarm_timer_init(pid, 0)); in alarm()193 let new_alarm = Some(AlarmTimer::alarm_timer_init(pid, second.as_secs())); in alarm()