Lines Matching refs:process_control_block
8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING,
44 queue: RBTree<i64, &'static mut process_control_block>,
46 idle_pcb: *mut process_control_block,
50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new()
60 pub fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument
76 pub fn dequeue(&mut self) -> &'static mut process_control_block { in dequeue() argument
77 let res: &'static mut process_control_block; in dequeue() variable
160 pub fn enqueue_reset_vruntime(&mut self, pcb: &'static mut process_control_block) { in enqueue_reset_vruntime() argument
170 pub fn set_cpu_idle(&mut self, cpu_id: usize, pcb: *mut process_control_block) { in set_cpu_idle() argument
183 fn sched(&mut self) -> Option<&'static mut process_control_block> { in sched() argument
190 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched() variable
232 fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument