Lines Matching refs:NULL
246 if ((child = forkproc(parent,1)) == NULL) {
407 thread_t child_thread = NULL;
452 child_task = NULL;
470 * Returns: !NULL Child process thread pointer
471 * NULL Failure (unspecified)
504 if (child_thread != NULL) {
595 if ((newth = cloneproc(parent, 1)) == NULL) {
649 * call if !NULL. If we NULL test, during lazy dof faulting
665 if (parent->p_dtrace_helpers != NULL && dtrace_helpers_fork) {
679 if ((t = (task_t)get_threadtask(newth)) != NULL) {
704 * Returns: !NULL pointer to new child thread
705 * NULL Failure (unspecified)
723 thread_t th = NULL;
725 if ((child = forkproc(parent,lock)) == NULL) {
730 if ((th = procdup(parent, child)) == NULL) {
784 p->p_limit = NULL;
808 p->p_textvp = NULL;
842 * Returns: !NULL The new process structure
843 * NULL Error (insufficient free memory)
859 if (child == NULL) {
868 if (child->p_stats == NULL) {
871 child = NULL;
876 if (child->p_sigacts == NULL) {
880 child = NULL;
884 if (child->p_rcall == NULL) {
888 child = NULL;
1015 if (parent->p_sigacts != NULL)
1022 if (sessp->s_ttyvp != NULL && parent->p_flag & P_CONTROLT)
1043 child->p_lctx = NULL;
1045 if (parent->p_lctx != NULL) {
1130 * task we can leave the new thread credential NULL. If it needs
1135 uth_parent != NULL &&
1166 if (p->p_dtrace_ptss_pages != NULL) {
1202 * non-NULL when we get here.
1204 assert(uth->uu_ar == NULL);
1239 if (uth->t_dtrace_scratch != NULL) {