Lines Matching refs:pid
75 * /proc/<pid>/as file:
188 pid_t pid;
204 if ((pid = fork1()) == -1) {
210 if (pid == 0) { /* child process */
244 P->pid = pid;
254 * Open the /proc/pid files.
257 procfs_path, (int)pid);
429 (void) kill(pid, SIGKILL);
505 * pid: UNIX process ID.
515 Pgrab(pid_t pid, int flags, int *perr)
524 * PGRAB_RDONLY means that we do not open the /proc/<pid>/control file,
557 * Open the /proc/pid files
560 procfs_path, (int)pid);
646 P->pid = pid;
704 if (pid == getpid()) {
1060 if (P->state != PS_DEAD && proc_get_psinfo(P->pid, &P->psinfo) == -1)
1092 return (proc_get_cred(P->pid, pcrp, ngroups));
1128 return (proc_get_ldt(P->pid, pldt, nldt));
1154 prpriv_t *pp = proc_get_priv(P->pid);
1310 procfs_path, (int)P->pid);
1470 dprintf("Prelease: releasing handle %p PS_DEAD of pid %d\n",
1471 (void *)P, (int)P->pid);
1484 dprintf("Prelease: releasing handle %p pid %d\n",
1485 (void *)P, (int)P->pid);
1506 (void) kill(P->pid, SIGKILL);
2680 * prheader_t at the start (/proc/pid/lstatus or /proc/pid/lpsinfo).
2780 * harder: the /proc/pid/lstatus file has the array of LWP structs.
2852 * harder: the /proc/pid/lstatus file has the array of lwpstatus_t's
2853 * and the /proc/pid/lpsinfo file has the array of lwpsinfo_t's.
3006 * Open the /proc/<pid>/lwp/<lwpid> files
3009 procfs_path, (int)P->pid, (int)lwpid);