Lines Matching defs:pid
92 #define INITPROCESS (pid_t)1 /* init process pid */
691 * hash table (pr_htbl) for the given pid in case that
692 * pid exists on the hash chain. It returns back a pointer
693 * to that uproc structure. If this is a new pid, it allocates
698 findhash(pid_t pid)
702 tp = up = &pr_htbl[(int)pid % HSIZE];
704 up->p_upid = pid;
709 if (up->p_upid == pid) { /* found in hash table */
713 if (tp->p_upid == pid) {
724 tp->p_upid = pid;