Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.7/kernel/src/net/
Dnet_core.rs10 time::timer::{next_n_ms_timer_jiffies, Timer, TimerFunction},
23 let timer = Timer::new(Box::new(NetWorkPollFunc()), next_time); in run() localVariable
24 timer.activate(); in run()
32 let timer = Timer::new(Box::new(NetWorkPollFunc()), next_time); in net_init() localVariable
33 timer.activate(); in net_init()
/DragonOS-0.1.7/kernel/src/time/
Dsleep.rs16 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
46 let timer: Arc<Timer> = Timer::new( in nano_sleep() localVariable
52 timer.activate(); in nano_sleep()
Dtimer.rs234 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout() localVariable
235 timer.activate(); in schedule_timeout()
Dmod.rs7 pub mod timer; module
/DragonOS-0.1.7/docs/kernel/sched/
Dkernel_timer.md165 let timer: Arc<Timer> = Timer::new(timer_example, 1);
167 timer.activate();
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md42 - timer: 重构了系统定时器 (#223)
141 * 修改timer的clock()
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs25 time::timer::clock,
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c1199 int timer = 500; in xhci_wait_for_interrupt() local
1200 while (timer) in xhci_wait_for_interrupt()
1221 --timer; in xhci_wait_for_interrupt()
1997 int timer = 400; in xhci_send_command() local
2002 while (timer && ((__read4b(origin_trb_vaddr + 8) & XHCI_IRQ_DONE) == 0)) in xhci_send_command()
2005 --timer; in xhci_send_command()
2008 if (timer == 0) in xhci_send_command()
/DragonOS-0.1.7/kernel/src/libs/
Didr.c97 int timer = 0; in idr_preload() local
106 timer++; in idr_preload()