Lines Matching refs:cpu_queue
110 cpu_queue: Vec<&'static mut CFSQueue>, field
118 cpu_queue: Default::default(), in new()
124 .cpu_queue in new()
128 result.cpu_queue[0].idle_pcb = unsafe { &mut initial_proc_union.pcb }; in new()
144 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()
162 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue_reset_vruntime() localVariable
163 if cpu_queue.queue.len() > 0 { in enqueue_reset_vruntime()
164 pcb.virtual_runtime = cpu_queue.min_vruntime().unwrap(); in enqueue_reset_vruntime()
167 cpu_queue.enqueue(pcb); in enqueue_reset_vruntime()
173 self.cpu_queue[cpu_id].idle_pcb = pcb; in set_cpu_idle()
177 return self.cpu_queue[cpu_id as usize].get_cfs_queue_size(); in get_cfs_queue_len()
189 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()
234 let cpu_queue = &mut self.cpu_queue[pcb.cpu_id as usize]; in enqueue() localVariable
235 cpu_queue.enqueue(pcb); in enqueue()