Lines Matching refs:process_control_block
8 initial_proc_union, process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, PROC_RUNNING,
45 queue: RBTree<i64, &'static mut process_control_block>,
47 idle_pcb: *mut process_control_block,
51 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new()
61 pub fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument
77 pub fn dequeue(&mut self) -> &'static mut process_control_block { in dequeue() argument
78 let res: &'static mut process_control_block; in dequeue() variable
161 pub fn enqueue_reset_vruntime(&mut self, pcb: &'static mut process_control_block) { in enqueue_reset_vruntime() argument
171 pub fn set_cpu_idle(&mut self, cpu_id: usize, pcb: *mut process_control_block) { in set_cpu_idle() argument
184 fn sched(&mut self) -> Option<&'static mut process_control_block> { in sched() argument
191 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched() variable
233 fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument