Lines Matching refs:lock

143         let watchdog_list = &WATCHDOG_LIST.lock();  in clocksource_start_watchdog()
289 let list_guard = &mut CLOCKSOURCE_LIST.lock(); in clocksource_enqueue()
343 let mut list_guard = WATCHDOG_LIST.lock(); in clocksource_enqueue_watchdog()
348 let cs_watchdog = &mut CLOCKSOUCE_WATCHDOG.lock(); in clocksource_enqueue_watchdog()
400 let mut locked_watchdog = CLOCKSOUCE_WATCHDOG.lock(); in clocksource_dequeue_watchdog()
407 let mut list = WATCHDOG_LIST.lock(); in clocksource_dequeue_watchdog()
442 let mut clocksource_list = CLOCKSOURCE_LIST.lock(); in clocksource_dequeue_watchdog()
495 let mut list = CLOCKSOURCE_LIST.lock(); in clocksource_dequeue()
622 let list = CLOCKSOURCE_LIST.lock(); in clocksource_resume()
638 let list = CLOCKSOURCE_LIST.lock(); in clocksource_suspend()
657 let mut cs_watchdog = CLOCKSOUCE_WATCHDOG.lock(); in clocksource_watchdog()
675 let watchdog_list = &mut WATCHDOG_LIST.lock(); in clocksource_watchdog()
736 let mut cs_watchdog = CLOCKSOUCE_WATCHDOG.lock(); in clocksource_watchdog()
751 let wd_list = &mut WATCHDOG_LIST.lock(); in clocksource_watchdog_kthread()
769 .lock() in clocksource_watchdog_kthread()
779 let list_guard = WATCHDOG_LIST.lock(); in clocksource_reset_watchdog()
794 let list_guard = CLOCKSOURCE_LIST.lock(); in clocksource_select()
799 let override_name = OVERRIDE_NAME.lock(); in clocksource_select()
811 if CUR_CLOCKSOURCE.lock().as_ref().is_some() { in clocksource_select()
813 let cur_clocksource = CUR_CLOCKSOURCE.lock().as_ref().unwrap().clone(); in clocksource_select()
818 CUR_CLOCKSOURCE.lock().replace(best); in clocksource_select()
823 CUR_CLOCKSOURCE.lock().replace(best); in clocksource_select()
830 let mut cur_clocksource = CUR_CLOCKSOURCE.lock(); in clocksource_boot_finish()