Lines Matching refs:process_control_block
8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,
41 queue: LinkedList<&'static mut process_control_block>,
52 pub fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument
66 pub fn dequeue(&mut self) -> Option<&'static mut process_control_block> { in dequeue() argument
67 let res: Option<&'static mut process_control_block>; in dequeue() variable
80 pub fn enqueue_front(&mut self, pcb: &'static mut process_control_block) { in enqueue_front() argument
133 pub fn pick_next_task_rt(&mut self, cpu_id: u32) -> Option<&'static mut process_control_block> { in pick_next_task_rt() argument
138 let proc: Option<&'static mut process_control_block> = cpu_queue_i.dequeue(); in pick_next_task_rt() variable
161 pub fn enqueue_front(&mut self, pcb: &'static mut process_control_block) { in enqueue_front() argument
169 fn sched(&mut self) -> Option<&'static mut process_control_block> { in sched() argument
173 let proc: &'static mut process_control_block = in sched() variable
214 fn enqueue(&mut self, pcb: &'static mut process_control_block) { in enqueue() argument