Lines Matching refs:wait_list
21 wait_list: Default::default(), in default()
24 list_init(&mut x.wait_list); in default()
32 wait_list: LinkedList<&'static mut process_control_block>, field
46 guard.wait_list.push_back(current_pcb()); in sleep()
55 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible()
65 guard.wait_list.push_back(current_pcb()); in sleep_unlock_spinlock()
76 guard.wait_list.push_back(current_pcb()); in sleep_unlock_mutex()
87 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_spinlock()
98 guard.wait_list.push_back(current_pcb()); in sleep_uninterruptible_unlock_mutex()
114 if guard.wait_list.is_empty() { in wakeup()
119 if (guard.wait_list.front().unwrap().state & state) != 0 { in wakeup()
120 let to_wakeup = guard.wait_list.pop_front().unwrap(); in wakeup()
132 return self.0.lock().wait_list.len(); in len()
138 wait_list: LinkedList::new(),