Home
last modified time | relevance | path

Searched refs:ki_p (Results 1 – 3 of 3) sorted by relevance

/trueos/bin/ps/
HDprint.c124 k->ki_p->ki_comm, in command()
125 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in command()
126 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : ""); in command()
128 str = strdup(k->ki_p->ki_comm); in command()
176 k->ki_p->ki_comm, in ucomm()
177 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in ucomm()
178 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : ""); in ucomm()
180 if (showthreads && k->ki_p->ki_numthreads > 1) in ucomm()
181 asprintf(&str, "%s/%s", k->ki_p->ki_comm, k->ki_p->ki_tdname); in ucomm()
183 str = strdup(k->ki_p->ki_comm); in ucomm()
[all …]
HDps.c591 next_KINFO->ki_p = kp; in main()
1007 if (ki[dst].ki_p->ki_pid == ki[src].ki_p->ki_pid) in descendant_sort()
1009 if (ki[dst].ki_p->ki_pid == ki[src].ki_p->ki_ppid) in descendant_sort()
1210 s = fmt_argv((*fn)(kd, ki->ki_p, termwidth), comm, in fmt()
1211 showthreads && ki->ki_p->ki_numthreads > 1 ? thread : NULL, maxlen); in fmt()
1215 #define UREADOK(ki) (forceuread || (ki->ki_p->ki_flag & P_INMEM))
1221 if (ki->ki_p->ki_flag & P_INMEM) { in saveuser()
1235 if (ki->ki_p->ki_stat == SZOMB) in saveuser()
1237 else if (UREADOK(ki) || (ki->ki_p->ki_args != NULL)) in saveuser()
1239 ki->ki_p->ki_comm, ki->ki_p->ki_tdname, MAXCOMLEN)); in saveuser()
[all …]
HDps.h44 struct kinfo_proc *ki_p; /* kinfo_proc structure */ member