Lines Matching refs:timer_list
79 let timer_list = &mut TIMER_LIST.lock(); in activate() localVariable
82 if timer_list.is_empty() { in activate()
85 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate()
88 drop(timer_list); in activate()
94 for (pos, elt) in timer_list.iter().enumerate() { in activate()
100 let mut temp_list: LinkedList<Arc<Timer>> = timer_list.split_off(split_pos); in activate()
101 timer_list.push_back(inner_guard.self_ref.upgrade().unwrap()); in activate()
102 timer_list.append(&mut temp_list); in activate()
104 drop(timer_list); in activate()
158 let timer_list = TIMER_LIST.try_lock(); in run() localVariable
159 if timer_list.is_err() { in run()
162 let mut timer_list = timer_list.unwrap(); in run() localVariable
164 if timer_list.is_empty() { in run()
168 let timer_list_front = timer_list.pop_front().unwrap(); in run()
184 timer_list.push_front(timer_list_front); in run()
188 drop(timer_list); in run()
255 Ok(timer_list) => { in timer_get_first_expire()
257 if timer_list.is_empty() { in timer_get_first_expire()
262 return Ok(timer_list.front().unwrap().0.lock().expire_jiffies); in timer_get_first_expire()