Searched refs:targp (Results 1 – 2 of 2) sorted by relevance
573 proc_t targp = PROC_NULL; /* target process */ in setpgid() local583 if ((targp = proc_find(uap->pid)) == 0 || !inferior(targp)) { in setpgid()584 if (targp != PROC_NULL) { in setpgid()591 targp_pg = proc_pgrp(targp, NULL); in setpgid()596 if (targp->p_flag & P_EXEC) { in setpgid()601 targp = curp; in setpgid()602 targp_pg = proc_pgrp(targp, NULL); in setpgid()605 if (SESS_LEADER(targp, targp_pg->pg_session)) { in setpgid()615 uap->pgid = proc_getpid(targp); in setpgid()616 } else if (uap->pgid != proc_getpid(targp)) { in setpgid()[all …]
860 thread_arg_t *targp = (thread_arg_t *)arg; in thread_32bit() local870 (void)stack_range_to_GSbase(targp->compat_stackaddr, cthread_self); in thread_32bit()876 pthread_mutex_lock(&targp->mutex); in thread_32bit()879 if (targp->done == FALSE) { in thread_32bit()880 pthread_cond_wait(&targp->condvar, &targp->mutex); in thread_32bit()884 if (call_compatmode(targp->compat_stackaddr, 0, in thread_32bit()890 } while (targp->done == FALSE); in thread_32bit()892 pthread_mutex_unlock(&targp->mutex); in thread_32bit()