Lines Matching refs:Pr
42 void Pcreate_callback(struct ps_prochandle *Pr);
45 void Pfree(struct ps_prochandle *Pr);
46 int Pstate(struct ps_prochandle *Pr);
47 int Pasfd(struct ps_prochandle *Pr);
48 int Pctlfd(struct ps_prochandle *Pr);
49 const psinfo_t *Ppsinfo(struct ps_prochandle *Pr);
50 const pstatus_t *Pstatus(struct ps_prochandle *Pr);
51 int Pcred(struct ps_prochandle *Pr, prcred_t *pcrp, int ngroups);
52 int Ppriv(struct ps_prochandle *Pr, prpriv_t **pprivp);
53 void Psync(struct ps_prochandle *Pr);
54 int Pcreate_agent(struct ps_prochandle *Pr);
55 void Pdestroy_agent(struct ps_prochandle *Pr);
56 int Preopen(struct ps_prochandle *Pr);
57 void Prelease(struct ps_prochandle *Pr, int flags);
58 int Pstopstatus(struct ps_prochandle *Pr, long cmd, uint_t msec);
59 int Pwait(struct ps_prochandle *Pr, uint_t msec);
60 int Pstop(struct ps_prochandle *Pr, uint_t msec);
61 int Pdstop(struct ps_prochandle *Pr);
62 int Pgetareg(struct ps_prochandle *Pr, int regno, prgreg_t *preg);
63 int Pputareg(struct ps_prochandle *Pr, int regno, prgreg_t reg);
64 int Psetrun(struct ps_prochandle *Pr, int sig, int flags);
65 ssize_t Pread(struct ps_prochandle *Pr,
67 ssize_t Pread_string(struct ps_prochandle *Pr,
69 ssize_t Pwrite(struct ps_prochandle *Pr,
71 int Pclearsig(struct ps_prochandle *Pr);
72 int Pclearfault(struct ps_prochandle *Pr);
73 int Psetbkpt(struct ps_prochandle *Pr, uintptr_t address, ulong_t *saved);
74 int Pdelbkpt(struct ps_prochandle *Pr, uintptr_t address, ulong_t saved);
75 int Pxecbkpt(struct ps_prochandle *Pr, ulong_t saved);
76 int Psetwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
77 int Pdelwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
78 int Pxecwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
79 int Psetflags(struct ps_prochandle *Pr, long flags);
80 int Punsetflags(struct ps_prochandle *Pr, long flags);
81 int Psignal(struct ps_prochandle *Pr, int which, int stop);
82 void Psetsignal(struct ps_prochandle *Pr, const sigset_t *set);
83 int Pfault(struct ps_prochandle *Pr, int which, int stop);
84 void Psetfault(struct ps_prochandle *Pr, const fltset_t *set);
85 int Psysentry(struct ps_prochandle *Pr, int which, int stop);
86 void Psetsysentry(struct ps_prochandle *Pr, const sysset_t *set);
87 int Psysexit(struct ps_prochandle *Pr, int which, int stop);
88 void Psetsysexit(struct ps_prochandle *Pr, const sysset_t *set);
89 int Plwp_iter(struct ps_prochandle *Pr, proc_lwp_f *func, void *cd);
90 int Psyscall(struct ps_prochandle *Pr, sysret_t *,
114 int Plwp_getregs(struct ps_prochandle *Pr, lwpid_t i, prgregset_t gr);
115 int Plwp_setregs(struct ps_prochandle *Pr, lwpid_t i, const prgregset_t gr);
116 int Plwp_getfpregs(struct ps_prochandle *Pr, lwpid_t i, prfpregset_t *fp);
117 int Plwp_setfpregs(struct ps_prochandle *Pr, lwpid_t i, const prfpregset_t *fp);
119 int Plwp_getxregs(struct ps_prochandle *Pr, lwpid_t i, prxregset_t *xr);
120 int Plwp_setxregs(struct ps_prochandle *Pr, lwpid_t i, const prxregset_t *xr);
122 int Plwp_getasrs(struct ps_prochandle *Pr, lwpid_t i, asrset_t asrs);
123 int Plwp_setasrs(struct ps_prochandle *Pr, lwpid_t i, const asrset_t asrs);
126 int Plwp_getpsinfo(struct ps_prochandle *Pr, lwpid_t i, lwpsinfo_t *lps);
134 int Pisprocdir(struct ps_prochandle *Pr, const char *dir);
137 ps_err_e ps_pdmodel(struct ps_prochandle *Pr, int *modelp);
138 ps_err_e ps_pread(struct ps_prochandle *Pr,
140 ps_err_e ps_pwrite(struct ps_prochandle *Pr,
142 ps_err_e ps_pdread(struct ps_prochandle *Pr,
144 ps_err_e ps_pdwrite(struct ps_prochandle *Pr,
146 ps_err_e ps_ptread(struct ps_prochandle *Pr,
148 ps_err_e ps_ptwrite(struct ps_prochandle *Pr,
150 ps_err_e ps_pstop(struct ps_prochandle *Pr);
151 ps_err_e ps_pcontinue(struct ps_prochandle *Pr);
152 ps_err_e ps_lstop(struct ps_prochandle *Pr, lwpid_t lwpid);
153 ps_err_e ps_lcontinue(struct ps_prochandle *Pr, lwpid_t lwpid);
154 ps_err_e ps_lgetregs(struct ps_prochandle *Pr,
156 ps_err_e ps_lsetregs(struct ps_prochandle *Pr,
158 ps_err_e ps_lgetfpregs(struct ps_prochandle *Pr,
160 ps_err_e ps_lsetfpregs(struct ps_prochandle *Pr,
163 ps_err_e ps_lgetxregsize(struct ps_prochandle *Pr,
165 ps_err_e ps_lgetxregs(struct ps_prochandle *Pr,
167 ps_err_e ps_lsetxregs(struct ps_prochandle *Pr,
171 ps_err_e ps_lgetLDT(struct ps_prochandle *Pr,
177 void Pupdate_maps(struct ps_prochandle *Pr);
178 void Pupdate_syms(struct ps_prochandle *Pr);
179 rd_agent_t *Prd_agent(struct ps_prochandle *Pr);
180 const prmap_t *Paddr_to_map(struct ps_prochandle *Pr, uintptr_t addr);
181 const prmap_t *Paddr_to_text_map(struct ps_prochandle *Pr, uintptr_t addr);
182 const prmap_t *Pname_to_map(struct ps_prochandle *Pr, const char *name);
183 const prmap_t *Plmid_to_map(struct ps_prochandle *Pr, Lmid_t lmid,
185 int Plookup_by_addr(struct ps_prochandle *Pr, uintptr_t addr,
187 int Plookup_by_name(struct ps_prochandle *Pr,
190 int Plookup_by_lmid(struct ps_prochandle *Pr,
197 int Pmapping_iter(struct ps_prochandle *Pr, proc_map_f *func, void *cd);
198 int Pmapping_iter_resolved(struct ps_prochandle *Pr, proc_map_f *func,
200 int Pobject_iter(struct ps_prochandle *Pr, proc_map_f *func, void *cd);
201 int Pobject_iter_resolved(struct ps_prochandle *Pr, proc_map_f *func,
203 char *Pobjname(struct ps_prochandle *Pr, uintptr_t addr,
205 char *Pobjname_resolved(struct ps_prochandle *Pr, uintptr_t addr,
207 int Plmid(struct ps_prochandle *Pr, uintptr_t addr, Lmid_t *lmidp);
208 int Psymbol_iter(struct ps_prochandle *Pr, const char *object_name,
210 int Psymbol_iter_by_lmid(struct ps_prochandle *Pr, Lmid_t lmid,
213 char *Pgetenv(struct ps_prochandle *Pr, const char *name,
215 char *Pplatform(struct ps_prochandle *Pr, char *s, size_t n);
216 int Puname(struct ps_prochandle *Pr, struct utsname *u);
217 char *Pzonename(struct ps_prochandle *Pr, char *s, size_t n);
218 char *Pfindobj(struct ps_prochandle *Pr, const char *path,
220 char *Pexecname(struct ps_prochandle *Pr, char *buffer, size_t bufsize);
221 void Preset_maps(struct ps_prochandle *Pr);
223 ps_err_e ps_pglobal_lookup(struct ps_prochandle *Pr,
227 ps_err_e ps_pglobal_sym(struct ps_prochandle *Pr,
231 long Pgetauxval(struct ps_prochandle *Pr, int type);
232 const auxv_t *Pgetauxvec(struct ps_prochandle *Pr);
233 ps_err_e ps_pauxv(struct ps_prochandle *Pr, const auxv_t **aux);
236 void Perror_printf(struct ps_prochandle *Pr, const char *format, ...);
239 int pr_door_info(struct ps_prochandle *Pr, int did, door_info_t *di);
242 int pr_exit(struct ps_prochandle *Pr, int status);
243 int pr_lwp_exit(struct ps_prochandle *Pr);
246 int pr_fcntl(struct ps_prochandle *Pr, int fd, int cmd, void *argp);
249 int pr_getitimer(struct ps_prochandle *Pr,
251 int pr_setitimer(struct ps_prochandle *Pr,
255 int pr_getrctl(struct ps_prochandle *Pr, const char *rname,
257 int pr_setrctl(struct ps_prochandle *Pr, const char *rname,
259 int pr_setprojrctl(struct ps_prochandle *Pr, const char *rname,
263 int pr_getrlimit(struct ps_prochandle *Pr,
265 int pr_setrlimit(struct ps_prochandle *Pr,
267 int pr_getrlimit64(struct ps_prochandle *Pr,
269 int pr_setrlimit64(struct ps_prochandle *Pr,
273 int pr_getsockname(struct ps_prochandle *Pr,
275 int pr_getpeername(struct ps_prochandle *Pr,
279 int pr_ioctl(struct ps_prochandle *Pr,
283 off_t pr_lseek(struct ps_prochandle *Pr,
285 offset_t pr_llseek(struct ps_prochandle *Pr,
289 int pr_memcntl(struct ps_prochandle *Pr,
293 void *pr_mmap(struct ps_prochandle *Pr,
295 int pr_munmap(struct ps_prochandle *Pr,
297 void *pr_zmap(struct ps_prochandle *Pr,
301 int pr_open(struct ps_prochandle *Pr,
303 int pr_creat(struct ps_prochandle *Pr,
305 int pr_close(struct ps_prochandle *Pr, int fd);
306 int pr_access(struct ps_prochandle *Pr, const char *path, int amode);
309 int pr_processor_bind(struct ps_prochandle *Pr, idtype_t, id_t, int, int *);
312 int pr_rename(struct ps_prochandle *Pr, const char *old, const char *new);
313 int pr_link(struct ps_prochandle *Pr, const char *exist, const char *new);
314 int pr_unlink(struct ps_prochandle *Pr, const char *);
317 int pr_sigaction(struct ps_prochandle *Pr,
321 int pr_stat(struct ps_prochandle *Pr, const char *path, struct stat *buf);
322 int pr_lstat(struct ps_prochandle *Pr, const char *path, struct stat *buf);
323 int pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf);
324 int pr_stat64(struct ps_prochandle *Pr, const char *path,
326 int pr_lstat64(struct ps_prochandle *Pr, const char *path,
328 int pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf);
331 int pr_statvfs(struct ps_prochandle *Pr, const char *path, statvfs_t *buf);
332 int pr_fstatvfs(struct ps_prochandle *Pr, int fd, statvfs_t *buf);
335 projid_t pr_getprojid(struct ps_prochandle *Pr);
336 taskid_t pr_gettaskid(struct ps_prochandle *Pr);
337 taskid_t pr_settaskid(struct ps_prochandle *Pr, projid_t project, int flags);
340 int pr_waitid(struct ps_prochandle *Pr,
383 int Psetcred(struct ps_prochandle *Pr, const prcred_t *pcred);
386 int Pstack_iter(struct ps_prochandle *Pr,
390 const char *Ppltdest(struct ps_prochandle *Pr, uintptr_t addr);