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