Lines Matching defs:Pr
40 get_sock_peer_name(struct ps_prochandle *Pr,
76 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
94 pr_getsockname(struct ps_prochandle *Pr,
97 if (Pr == NULL) /* no subject process */
100 return (get_sock_peer_name(Pr, SYS_getsockname, sock, name, namelen));
107 pr_getpeername(struct ps_prochandle *Pr,
110 if (Pr == NULL) /* no subject process */
113 return (get_sock_peer_name(Pr, SYS_getpeername, sock, name, namelen));
117 pr_getsockopt(struct ps_prochandle *Pr,
125 if (Pr == NULL) /* no subject process */
163 error = Psyscall(Pr, &rval, SYS_getsockopt, 5, &argd[0]);
176 pr_getpeerucred(struct ps_prochandle *Pr, int fd, ucred_t **ucp)
184 if (Pr == NULL) /* no subject process */
214 error = Psyscall(Pr, &rval, SYS_ucredsys, 3, &argd[0]);