Lines Matching refs:tmpstat
990 int error, tmpstat; in linux_common_wait() local
992 error = kern_wait(td, pid, &tmpstat, options, ru); in linux_common_wait()
997 tmpstat &= 0xffff; in linux_common_wait()
998 if (WIFSIGNALED(tmpstat)) in linux_common_wait()
999 tmpstat = (tmpstat & 0xffffff80) | in linux_common_wait()
1000 bsd_to_linux_signal(WTERMSIG(tmpstat)); in linux_common_wait()
1001 else if (WIFSTOPPED(tmpstat)) in linux_common_wait()
1002 tmpstat = (tmpstat & 0xffff00ff) | in linux_common_wait()
1003 (bsd_to_linux_signal(WSTOPSIG(tmpstat)) << 8); in linux_common_wait()
1004 else if (WIFCONTINUED(tmpstat)) in linux_common_wait()
1005 tmpstat = 0xffff; in linux_common_wait()
1006 error = copyout(&tmpstat, status, sizeof(int)); in linux_common_wait()