Lines Matching defs:psinfo
46 * Allocate enough space for procfs_path + arg + "/psinfo"
60 (void) strcat(path, "/psinfo");
63 * Attempt to open the psinfo file, and return the fd if we can
133 psinfo_t psinfo;
151 if (read(fd, &psinfo,
161 *psp = psinfo;
164 return (Pgrab(psinfo.pr_pid, gflag,
200 if (read(fd, &psinfo, sizeof (psinfo_t)) == sizeof (psinfo_t)) {
203 *psp = psinfo;
206 return (Pgrab(psinfo.pr_pid, gflag, perr));
258 psinfo_t psinfo;
261 psp = &psinfo;
273 psinfo_t psinfo;
276 psp = &psinfo;
432 psinfo_t psinfo;
456 "%s/%ld/psinfo", procfs_path, pid);
460 if (read(fd, &psinfo, sizeof (psinfo)) != sizeof (psinfo) ||
461 (psinfo.pr_flag & SSYS)) {
467 if ((ret = func(&psinfo, &psinfo.pr_lwp, arg)) != 0)
499 if ((ret = func(&psinfo, lwpsinfo, arg)) != 0) {