Home
last modified time | relevance | path

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

/DragonOS/kernel/src/process/
H A Dtimer.rs15 pub struct AlarmTimer { struct
22 impl AlarmTimer { argument
39 let result = AlarmTimer { in new()
64 pub fn alarm_timer_init(pid: Pid, second: u64) -> AlarmTimer { in alarm_timer_init() argument
67 let alarmtimer = AlarmTimer::new(timerfunc, second); in alarm_timer_init()
H A Dmod.rs66 use timer::AlarmTimer;
660 alarm_timer: SpinLock<Option<AlarmTimer>>,
1042 pub fn alarm_timer_irqsave(&self) -> SpinLockGuard<Option<AlarmTimer>> { in alarm_timer_irqsave() argument
/DragonOS/kernel/src/time/
H A Dsyscall.rs9 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()