Searched refs:p_pgrp (Results 1 – 13 of 13) sorted by relevance
277 p->p_pgrp = NULL; in proc_init()643 KASSERT(pgrp != p->p_pgrp, in enterthispgrp()730 savepgrp = p->p_pgrp; in doenterpgrp()739 p->p_pgrp = pgrp; in doenterpgrp()759 savepgrp = p->p_pgrp; in leavepgrp()763 p->p_pgrp = NULL; in leavepgrp()817 pgrp = p->p_pgrp; in fixjobc_kill()832 pgrp = p->p_pgrp; in fixjobc_kill()845 pgrp = q->p_pgrp; in fixjobc_kill()861 pgrp = q->p_pgrp; in fixjobc_kill()[all …]
386 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()387 acct.ac_tty = tty_udev(p->p_pgrp->pg_session->s_ttyp); in acct_process()
576 PGRP_LOCK(p1->p_pgrp); in do_fork()594 p2->p_pgrp = p1->p_pgrp; in do_fork()596 PGRP_UNLOCK(p1->p_pgrp); in do_fork()
148 td->td_retval[0] = p->p_pgrp->pg_id; in sys_getpgrp()178 td->td_retval[0] = p->p_pgrp->pg_id; in sys_getpgid()411 if (targp->p_pgrp == NULL || in sys_setpgid()440 if (pgrp == targp->p_pgrp) { in sys_setpgid()
436 pg = p->p_pgrp; in tty_wait_background()444 if (p->p_pgrp != pg) { in tty_wait_background()459 if (!tty_is_ctty(tp, p) || p->p_pgrp == tp->t_pgrp) { in tty_wait_background()1851 tp->t_pgrp = p->p_pgrp; in tty_generic_ioctl()
124 pg = td->td_proc->p_pgrp; in kern_getpriority()216 pg = curp->p_pgrp; in kern_setpriority()
483 p->p_pgrp = &pgrp0; in proc0_init()
1757 pgrp = td->td_proc->p_pgrp; in killpg1()2237 (p->p_pgrp->pg_flags & PGRP_ORPHANED) != 0 && in tdsendsignal()2995 P_SINGLE_EXIT)) != 0 || ((p->p_pgrp-> in issignal()
4391 if (p->p_pgrp != NULL && p->p_pgrp->pg_session != NULL) { in kern_proc_filedesc_out()4392 cttyvp = p->p_pgrp->pg_session->s_ttyvp; in kern_proc_filedesc_out()
153 pgrp = p->p_pgrp; in db_ps_proc()228 if (p->p_pgrp != NULL && p->p_session != NULL && in db_ps_proc()
693 struct pgrp *p_pgrp; /* (c + e) Pointer to process group. */ member720 #define p_session p_pgrp->pg_session721 #define p_pgid p_pgrp->pg_id
396 p->p_pgrp = &pgrp0; in proc0_init()
560 pgid = p->p_pgrp->pg_id; /* XXX could be stale? */ in maybe_demote()