Searched refs:CUR_CLOCKSOURCE (Results 1 – 1 of 1) sorted by relevance
54 pub static CUR_CLOCKSOURCE: SpinLock<Option<Arc<dyn Clocksource>>> = SpinLock::new(None); variable997 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()