Lines Matching defs:ProcessControlBlock

99     fn enqueue(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, flags: EnqueueFlag);  in enqueue()
102 fn dequeue(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag); in dequeue()
110 pcb: &Arc<ProcessControlBlock>, in check_preempt_currnet()
116 fn pick_task(rq: &mut CpuRunQueue) -> Option<Arc<ProcessControlBlock>>; in pick_task()
121 pcb: Option<Arc<ProcessControlBlock>>, in pick_next_task()
122 ) -> Option<Arc<ProcessControlBlock>>; in pick_next_task()
125 fn tick(rq: &mut CpuRunQueue, pcb: Arc<ProcessControlBlock>, queued: bool); in tick()
128 fn task_fork(pcb: Arc<ProcessControlBlock>); in task_fork()
130 fn put_prev_task(rq: &mut CpuRunQueue, prev: Arc<ProcessControlBlock>); in put_prev_task()
399 pub fn enqueue_task(&mut self, pcb: Arc<ProcessControlBlock>, flags: EnqueueFlag) { in enqueue_task()
421 pub fn dequeue_task(&mut self, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag) { in dequeue_task()
451 pub fn activate_task(&mut self, pcb: &Arc<ProcessControlBlock>, mut flags: EnqueueFlag) { in activate_task()
467 pub fn check_preempt_currnet(&mut self, pcb: &Arc<ProcessControlBlock>, flags: WakeupFlags) { in check_preempt_currnet()
491 pub fn deactivate_task(&mut self, pcb: Arc<ProcessControlBlock>, flags: DequeueFlag) { in deactivate_task()
611 pub fn current(&self) -> Arc<ProcessControlBlock> { in current()
616 pub fn set_current(&mut self, pcb: Weak<ProcessControlBlock>) { in set_current()
621 pub fn set_idle(&mut self, pcb: Weak<ProcessControlBlock>) { in set_idle()
660 pub fn pick_next_task(&mut self, prev: Arc<ProcessControlBlock>) -> Arc<ProcessControlBlock> { in pick_next_task()
960 pub fn sched_cgroup_fork(pcb: &Arc<ProcessControlBlock>) { in sched_cgroup_fork()
970 fn __set_task_cpu(pcb: &Arc<ProcessControlBlock>, cpu: ProcessorId) { in __set_task_cpu()