Lines Matching defs:rv
151 void proc_prepareexit(proc_t p, int rv, boolean_t perf_notify);
152 void vfork_exit(proc_t p, int rv);
246 exit1(proc_t p, int rv, int *retval)
248 return exit1_internal(p, rv, retval, TRUE, TRUE);
252 exit1_internal(proc_t p, int rv, int *retval, boolean_t thread_can_terminate, boolean_t perf_notify)
271 vfork_exit(p, rv);
286 * was. The exit status is WEXITSTATUS(rv), but it's not clear
289 AUDIT_ARG(exit, WEXITSTATUS(rv), 0);
340 WTERMSIG(rv), WEXITSTATUS(rv));
349 p->p_xstat = rv;
354 proc_prepareexit(p, rv, perf_notify);
363 proc_prepareexit(proc_t p, int rv, boolean_t perf_notify)
371 if (hassigprop(WTERMSIG(rv), SA_CORE) || ((p->p_csflags & CS_KILLED) != 0)) {
376 if ((SIGSEGV == WTERMSIG(rv)) &&
386 code = ((WTERMSIG(rv) & 0xff) << 24) |
1605 vfork_exit(proc_t p, int rv)
1607 vfork_exit_internal(p, rv, 0);
1611 vfork_exit_internal(proc_t p, int rv, int forceexit)
1669 p->p_xstat = rv;