Lines Matching defs:info
63 static struct psinfo info; /* process information structure from /proc */
225 * Determine which processes to print info about by searching
250 * Get the info structure for the process and close quickly.
252 if (read(procfd, &info, sizeof (info)) != sizeof (info)) {
267 psp->pdata.uid = info.pr_uid;
268 psp->pdata.pid = info.pr_pid;
269 psp->pdata.ppid = info.pr_ppid;
270 psp->pdata.sz = info.pr_size;
271 if (info.pr_lwp.pr_wchan)
272 sprintf(psp->pdata.wchan, "%9x", info.pr_lwp.pr_wchan);
276 if (info.pr_lwp.pr_sname)
277 psp->pdata.stat[0] = info.pr_lwp.pr_sname;
280 psp->pdata.cpu = info.pr_time.tv_sec;
281 strcpy(psp->pdata.cmd, info.pr_fname);
521 if (info.pr_ttydev != PRNODEV && *ip >= 0) {
523 if (devl[i].dev == info.pr_ttydev) {