Searched refs:next_pcb (Results 1 – 3 of 3) sorted by relevance
25 let next_pcb = pcb.unwrap(); in sched() localVariable28 if current_pcb.pid() != next_pcb.pid() { in sched()29 CPU_EXECUTING.set(smp_get_processor_id(), next_pcb.pid()); in sched()30 unsafe { ProcessManager::switch_process(current_pcb, next_pcb) }; in sched()
83 pub next_pcb: Option<Arc<ProcessControlBlock>>, field90 next_pcb: None, in new()405 let next_pcb = SWITCH_RESULT in switch_finish_hook() localVariable409 .next_pcb in switch_finish_hook()415 next_pcb.arch_info.force_unlock(); in switch_finish_hook()
425 SWITCH_RESULT.as_mut().unwrap().get_mut().next_pcb = Some(next); in switch_process()