Lines Matching refs:cpu_queue
109 cpu_queue: Vec<&'static mut CFSQueue>, field
117 cpu_queue: Default::default(), in new()
123 .cpu_queue in new()
127 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()
143 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()
161 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue_reset_vruntime() localVariable
162 if cpu_queue.queue.len() > 0 { in enqueue_reset_vruntime()
163 pcb.virtual_runtime = cpu_queue.min_vruntime().unwrap(); in enqueue_reset_vruntime()
166 cpu_queue.enqueue(pcb); in enqueue_reset_vruntime()
172 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()
176 return self.cpu_queue[cpu_id as usize].get_cfs_queue_size(); in get_cfs_queue_len()
188 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()
233 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue() localVariable
234 cpu_queue.enqueue(pcb); in enqueue()