Lines Matching refs:wait_list
22 wait_list: Default::default(), in default()
25 list_init(&mut x.wait_list); in default()
33 wait_list: LinkedList<&'static mut process_control_block>, field
47 guard.wait_list.push_back(current_pcb()); in sleep()
60 guard.wait_list.push_back(current_pcb()); in sleep_with_func()
85 guard.wait_list.push_back(current_pcb()); in sleep_without_schedule()
92 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible()
102 guard.wait_list.push_back(current_pcb()); in sleep_unlock_spinlock()
113 guard.wait_list.push_back(current_pcb()); in sleep_unlock_mutex()
124 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_spinlock()
135 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_mutex()
151 if guard.wait_list.is_empty() { in wakeup()
156 if (guard.wait_list.front().unwrap().state & state) != 0 { in wakeup()
157 let to_wakeup = guard.wait_list.pop_front().unwrap(); in wakeup()
173 if guard.wait_list.is_empty() { in wakeup_all()
179 while let Some(to_wakeup) = guard.wait_list.pop_front() { in wakeup_all()
190 guard.wait_list.push_back(to_wakeup); in wakeup_all()
196 return self.0.lock().wait_list.len(); in len()
202 wait_list: LinkedList::new(),