Searched refs:ki_p (Results 1 – 3 of 3) sorted by relevance
| /NextBSD/bin/ps/ |
| HD | print.c | 125 k->ki_p->ki_comm, in command() 126 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in command() 127 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : ""); in command() 129 str = strdup(k->ki_p->ki_comm); in command() 177 k->ki_p->ki_comm, in ucomm() 178 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in ucomm() 179 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : ""); in ucomm() 181 if (showthreads && k->ki_p->ki_numthreads > 1) in ucomm() 182 asprintf(&str, "%s/%s", k->ki_p->ki_comm, k->ki_p->ki_tdname); in ucomm() 184 str = strdup(k->ki_p->ki_comm); in ucomm() [all …]
|
| HD | ps.c | 598 next_KINFO->ki_p = kp; in main() 1025 if (ki[dst].ki_p->ki_pid == ki[src].ki_p->ki_pid) in descendant_sort() 1027 if (ki[dst].ki_p->ki_pid == ki[src].ki_p->ki_ppid) in descendant_sort() 1228 s = fmt_argv((*fn)(kd, ki->ki_p, termwidth), comm, in fmt() 1229 showthreads && ki->ki_p->ki_numthreads > 1 ? thread : NULL, maxlen); in fmt() 1233 #define UREADOK(ki) (forceuread || (ki->ki_p->ki_flag & P_INMEM)) 1239 if (ki->ki_p->ki_flag & P_INMEM) { in saveuser() 1253 if (ki->ki_p->ki_stat == SZOMB) in saveuser() 1255 else if (UREADOK(ki) || (ki->ki_p->ki_args != NULL)) in saveuser() 1257 ki->ki_p->ki_comm, ki->ki_p->ki_tdname, MAXCOMLEN)); in saveuser() [all …]
|
| HD | ps.h | 44 struct kinfo_proc *ki_p; /* kinfo_proc structure */ member
|