Lines Matching refs:ProcessControlBlock
23 switch_finish_hook, KernelStack, ProcessControlBlock, ProcessFlags, ProcessManager,
105 current_pcb: &Arc<ProcessControlBlock>, in copy_thread() argument
106 new_pcb: &Arc<ProcessControlBlock>, in copy_thread() argument
167 pub unsafe fn switch_process(prev: Arc<ProcessControlBlock>, next: Arc<ProcessControlBlock>) { in switch_process() argument
202 fn switch_process_fpu(prev: &Arc<ProcessControlBlock>, next: &Arc<ProcessControlBlock>) { in switch_process_fpu() argument
211 fn switch_local_context(prev: &Arc<ProcessControlBlock>, next: &Arc<ProcessControlBlock>) { in switch_local_context() argument
218 unsafe fn task_trapframe(task: &Arc<ProcessControlBlock>) -> &mut TrapFrame { in task_trapframe()
316 impl ProcessControlBlock { impl
327 let p = stack_base.data() as *const *const ProcessControlBlock; in arch_current_pcb() constant
334 let weak_wrapper: ManuallyDrop<Weak<ProcessControlBlock>> = in arch_current_pcb()
337 let new_arc: Arc<ProcessControlBlock> = weak_wrapper.upgrade().unwrap(); in arch_current_pcb()