Lines Matching refs:l1
256 fork1(struct lwp *l1, int flags, int exitsig, void *stack, size_t stacksize,
268 p1 = l1->l_proc;
269 uid = kauth_cred_getuid(l1->l_cred);
279 error = kauth_authorize_process(l1->l_cred,
297 if (kauth_authorize_process(l1->l_cred, KAUTH_PROCESS_RLIMIT,
437 l1->l_vforkwaiting = true;
438 p2->p_vforklwp = l1;
441 l1->l_vforkwaiting = false;
493 lwp_create(l1, p2, uaddr, (flags & FORK_PPWAIT) ? LWP_VFORK : 0,
495 l1->l_class, &l1->l_sigmask, &l1->l_sigstk);
503 l2->l_private = l1->l_private;
509 (*p2->p_emul->e_proc_fork)(p2, l1, flags);
552 KPREEMPT_DISABLE(l1);
558 KPREEMPT_ENABLE(l1);
633 while (l1->l_vforkwaiting)
634 cv_wait(&l1->l_waitcv, &proc_lock);