Lines Matching refs:Some
96 if let Some(mut wstatus_buf) = wstatus_buf { in kernel_wait4()
97 let wstatus = if let Some(ret_info) = &kwo.ret_info { in kernel_wait4()
114 kwo.no_task_error = Some(SystemError::ECHILD); in do_wait()
117 if let Some(err) = &kwo.no_task_error { in do_wait()
145 if let Some(r) = r { in do_wait()
191 if let Some(info) = &mut kwo.ret_info { in do_waitpid()
201 return Some(Ok(0)); in do_waitpid()
212 return Some(Ok(0)); in do_waitpid()
218 if let Some(infop) = &mut kwo.ret_info { in do_waitpid()
226 return Some(Ok(child_pcb.pid().data())); in do_waitpid()
238 if let Some(infop) = &mut kwo.ret_info { in do_waitpid()
251 return Some(Ok(pid.into())); in do_waitpid()