Searched refs:child_pcb (Results 1 – 1 of 1) sorted by relevance
115 let child_pcb = ProcessManager::find(kwo.pid).ok_or(SystemError::ECHILD); in do_wait() localVariable116 if kwo.pid_type != PidType::MAX && child_pcb.is_err() { in do_wait()141 let child_pcb = child_pcb.unwrap(); in do_wait() localVariable143 let child_weak = Arc::downgrade(&child_pcb); in do_wait()144 let r = do_waitpid(child_pcb, kwo); in do_wait()181 child_pcb: Arc<ProcessControlBlock>, in do_waitpid()184 let state = child_pcb.sched_info().inner_lock_read_irqsave().state(); in do_waitpid()193 pid: child_pcb.pid(), in do_waitpid()220 pid: child_pcb.pid(), in do_waitpid()226 return Some(Ok(child_pcb.pid().data())); in do_waitpid()[all …]