Lines Matching defs:Pr

69 pr_stat(struct ps_prochandle *Pr, const char *path, struct stat *buf)
80 if (Pr == NULL) /* no subject process */
83 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) {
108 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
127 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
134 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)
144 pr_lstat(struct ps_prochandle *Pr, const char *path, struct stat *buf)
155 if (Pr == NULL) /* no subject process */
158 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) {
183 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
202 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
209 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)
219 pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf)
230 if (Pr == NULL) /* no subject process */
233 if (Pstatus(Pr)->pr_dmodel != PR_MODEL_NATIVE) {
258 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
277 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
284 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)
294 pr_stat64(struct ps_prochandle *Pr, const char *path, struct stat64 *buf)
305 if (Pr == NULL) /* no subject process */
308 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
337 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
356 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
363 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)
373 pr_lstat64(struct ps_prochandle *Pr, const char *path, struct stat64 *buf)
384 if (Pr == NULL) /* no subject process */
387 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
416 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
435 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
442 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)
452 pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf)
463 if (Pr == NULL) /* no subject process */
466 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
495 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) {
514 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]);
521 if (Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32)