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 { implementation
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;
650 alarm_timer: SpinLock<Option<AlarmTimer>>,
1014 pub fn alarm_timer_irqsave(&self) -> SpinLockGuard<Option<AlarmTimer>> { in alarm_timer_irqsave() argument
/DragonOS/kernel/src/time/
H A Dsyscall.rs11 process::{timer::AlarmTimer, ProcessManager},
180 let new_alarm = Some(AlarmTimer::alarm_timer_init(pid, 0)); in alarm()
195 let new_alarm = Some(AlarmTimer::alarm_timer_init(pid, second.as_secs())); in alarm()