Lines Matching refs:list_guard
409 let mut list_guard = CLOCKSOURCE_LIST.lock(); in clocksource_enqueue() localVariable
410 let mut spilt_pos: usize = list_guard.len(); in clocksource_enqueue()
411 for (pos, ele) in list_guard.iter().enumerate() { in clocksource_enqueue()
417 let mut temp_list = list_guard.split_off(spilt_pos); in clocksource_enqueue()
419 list_guard.push_back(cs); in clocksource_enqueue()
420 list_guard.append(&mut temp_list); in clocksource_enqueue()
442 let mut list_guard = WATCHDOG_LIST.lock_irqsave(); in clocksource_enqueue_watchdog() localVariable
448 list_guard.push_back(cs); in clocksource_enqueue_watchdog()
463 let mut list_guard = WATCHDOG_LIST.lock_irqsave(); in clocksource_enqueue_watchdog() localVariable
464 list_guard.push_back(cs.clone()); in clocksource_enqueue_watchdog()
465 drop(list_guard); in clocksource_enqueue_watchdog()
965 let list_guard = WATCHDOG_LIST.lock_irqsave(); in clocksource_reset_watchdog() localVariable
966 for ele in list_guard.iter() { in clocksource_reset_watchdog()
980 let list_guard = CLOCKSOURCE_LIST.lock(); in clocksource_select() localVariable
981 if !FINISHED_BOOTING.load(Ordering::Relaxed) || list_guard.is_empty() { in clocksource_select()
984 let mut best = list_guard.front().unwrap().clone(); in clocksource_select()
987 for ele in list_guard.iter() { in clocksource_select()