Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dclocksource.rs54 pub static CUR_CLOCKSOURCE: SpinLock<Option<Arc<dyn Clocksource>>> = SpinLock::new(None); variable
997 if CUR_CLOCKSOURCE.lock().as_ref().is_some() { in clocksource_select()
999 let cur_clocksource = CUR_CLOCKSOURCE.lock().as_ref().unwrap().clone(); in clocksource_select()
1004 CUR_CLOCKSOURCE.lock().replace(best.clone()); in clocksource_select()
1009 CUR_CLOCKSOURCE.lock().replace(best.clone()); in clocksource_select()
1016 let mut cur_clocksource = CUR_CLOCKSOURCE.lock(); in clocksource_boot_finish()