Lines Matching refs:watchdog
117 watchdog: Option<Arc<dyn Clocksource>>, field
128 watchdog: None, in new()
137 &mut self.watchdog in get_watchdog()
144 if self.is_running || self.watchdog.is_none() || watchdog_list.is_empty() { in clocksource_start_watchdog()
150 self.last_check = self.watchdog.as_ref().unwrap().clone().read(); in clocksource_start_watchdog()
159 if !self.is_running || (self.watchdog.is_some() && list_len != 0) { in clocksource_stop_watchdog()
349 if cs_watchdog.watchdog.is_none() in clocksource_enqueue_watchdog()
352 .watchdog in clocksource_enqueue_watchdog()
359 cs_watchdog.watchdog.replace(cs); in clocksource_enqueue_watchdog()
401 let watchdog = locked_watchdog in clocksource_dequeue_watchdog() localVariable
429 } else if watchdog.name.eq(&data.name) && watchdog.rating.eq(&data.rating) { in clocksource_dequeue_watchdog()
456 let watchdog = locked_watchdog.get_watchdog().clone(); in clocksource_dequeue_watchdog() localVariable
457 if watchdog.is_none() in clocksource_dequeue_watchdog()
458 || ele_data.rating > watchdog.unwrap().clocksource_data().rating in clocksource_dequeue_watchdog()
470 locked_watchdog.watchdog.replace(new_wd); in clocksource_dequeue_watchdog()
660 if !cs_watchdog.is_running || cs_watchdog.watchdog.is_none() { in clocksource_watchdog()
663 let cur_watchdog = cs_watchdog.watchdog.as_ref().unwrap().clone(); in clocksource_watchdog()