Lines Matching defs:pid
93 #define INITPROCESS (pid_t)1 /* init process pid */
602 * hash table (pr_htbl) for the given pid in case that
603 * pid exists on the hash chain. It returns back a pointer
604 * to that uproc structure. If this is a new pid, it allocates
609 findhash(pid_t pid)
613 tp = up = &pr_htbl[pid % HSIZE];
615 up->p_upid = pid;
620 if (up->p_upid == pid) { /* found in hash table */
624 if (tp->p_upid == pid)
634 tp->p_upid = pid;