Searched refs:p_upid (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/whodo/ |
H A D | whodo.c | 107 pid_t p_upid; /* user process id */ member 444 if (parent->p_upid != INITPROCESS) { in main() 519 LINE_WIDTH, (int)LMAX, " ?", (int)up->p_upid, 0L, 0L, in showproc() 523 LINE_WIDTH, (int)LMAX, getty(up->p_ttyd), (int)up->p_upid, in showproc() 599 if (up->p_upid > curpid && (!up->p_igintr || empty)) { in calctotals() 600 curpid = up->p_upid; in calctotals() 703 if (up->p_upid == 0) { /* empty slot */ in findhash() 704 up->p_upid = pid; in findhash() 709 if (up->p_upid == pid) { /* found in hash table */ in findhash() 713 if (tp->p_upid == pid) { in findhash() [all …]
|
/titanic_50/usr/src/cmd/w/ |
H A D | w.c | 103 pid_t p_upid; /* process id */ member 459 if (parent->p_upid != INITPROCESS) { in main() 579 if (up->p_upid > curpid && (!up->p_igintr || empty)) { in calctotals() 580 curpid = up->p_upid; in calctotals() 614 if (up->p_upid == 0) { /* empty slot */ in findhash() 615 up->p_upid = pid; in findhash() 620 if (up->p_upid == pid) { /* found in hash table */ in findhash() 624 if (tp->p_upid == pid) in findhash() 634 tp->p_upid = pid; in findhash()
|