Lines Matching refs:Pr

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