targp 1233 compat/linux/linux_misc.c struct proc *targp; targp 1236 compat/linux/linux_misc.c if ((targp = pfind(SCARG(uap, pid))) == 0) targp 1240 compat/linux/linux_misc.c targp = p; targp 1242 compat/linux/linux_misc.c retval[0] = targp->p_pgid; targp 112 kern/kern_prot.c struct proc *targp = curp; targp 116 kern/kern_prot.c if ((targp = pfind(SCARG(uap, pid))) == NULL) targp 118 kern/kern_prot.c if (targp->p_session != curp->p_session) targp 121 kern/kern_prot.c *retval = targp->p_pgid; targp 131 kern/kern_prot.c struct proc *targp = curp; targp 135 kern/kern_prot.c if ((targp = pfind(SCARG(uap, pid))) == NULL) targp 137 kern/kern_prot.c if (targp->p_session != curp->p_session) targp 141 kern/kern_prot.c if (targp->p_pgrp->pg_session->s_leader == NULL) targp 143 kern/kern_prot.c *retval = targp->p_pgrp->pg_session->s_leader->p_pid; targp 267 kern/kern_prot.c struct proc *targp; /* target process */ targp 279 kern/kern_prot.c if ((targp = pfind(pid)) == 0 || !inferior(targp)) targp 281 kern/kern_prot.c if (targp->p_session != curp->p_session) targp 283 kern/kern_prot.c if (targp->p_flag & P_EXEC) targp 286 kern/kern_prot.c targp = curp; targp 287 kern/kern_prot.c if (SESS_LEADER(targp)) targp 290 kern/kern_prot.c pgid = targp->p_pid; targp 291 kern/kern_prot.c else if (pgid != targp->p_pid) targp 295 kern/kern_prot.c return (enterpgrp(targp, pgid, 0));