Searched refs:timer (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.7/kernel/src/net/ |
D | net_core.rs | 10 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/ |
D | sleep.rs | 16 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()
|
D | timer.rs | 234 let timer = Timer::new(WakeUpHelper::new(current_pcb()), timeout as u64); in schedule_timeout() localVariable 235 timer.activate(); in schedule_timeout()
|
D | mod.rs | 7 pub mod timer; module
|
/DragonOS-0.1.7/docs/kernel/sched/ |
D | kernel_timer.md | 165 let timer: Arc<Timer> = Timer::new(timer_example, 1); 167 timer.activate();
|
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.6.md | 42 - timer: 重构了系统定时器 (#223) 141 * 修改timer的clock()
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | softirq.rs | 25 time::timer::clock,
|
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.c | 1199 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/ |
D | idr.c | 97 int timer = 0; in idr_preload() local 106 timer++; in idr_preload()
|