Lines Matching refs:ProcessControlBlock
9 use crate::process::ProcessControlBlock;
82 pcb: Weak<ProcessControlBlock>,
124 pub fn pcb(&self) -> Arc<ProcessControlBlock> { in pcb() argument
128 pub fn set_pcb(&mut self, pcb: Weak<ProcessControlBlock>) { in set_pcb() argument
1409 pcb: Arc<crate::process::ProcessControlBlock>, in enqueue() argument
1471 pcb: Arc<crate::process::ProcessControlBlock>, in dequeue() argument
1565 pcb: &Arc<crate::process::ProcessControlBlock>, in check_preempt_currnet() argument
1641 fn pick_task(rq: &mut CpuRunQueue) -> Option<Arc<crate::process::ProcessControlBlock>> { in pick_task() argument
1676 fn tick(_rq: &mut CpuRunQueue, pcb: Arc<crate::process::ProcessControlBlock>, queued: bool) { in tick() argument
1689 fn task_fork(pcb: Arc<ProcessControlBlock>) { in task_fork() argument
1709 prev: Option<Arc<ProcessControlBlock>>, in pick_next_task() argument
1710 ) -> Option<Arc<ProcessControlBlock>> { in pick_next_task() argument
1803 fn put_prev_task(_rq: &mut CpuRunQueue, prev: Arc<ProcessControlBlock>) { in put_prev_task() argument