Lines Matching defs:P
49 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr)
51 map_info_t *mp = Paddr2mptr(P, pltaddr);
70 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) &&
83 Pissyscall(struct ps_prochandle *P, uintptr_t addr)
90 if (Pread(P, &instr, sizeof (instr), addr) != sizeof (instr) ||
98 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst)
102 if (Pissyscall(P, prevaddr)) {
113 Pissyscall_text(struct ps_prochandle *P, const void *buf, size_t buflen)
185 read_gwin(struct ps_prochandle *P, struct rwindow *rwp, uintptr_t sp)
189 if (P->state == PS_DEAD) {
190 core_info_t *core = P->data;
219 gq.gq_proc = P;
223 return (Plwp_iter(P, (proc_lwp_f *)find_gwin, &gq) ? 0 : -1);
255 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs,
271 init_uclist(&ucl, P);
293 Pread(P, &uc, sizeof (uc), sp +
299 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp);
313 if (read_gwin(P, (struct rwindow *)&gregs[R_L0], sp) == -1)
325 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp)
332 P->status.pr_lwp.pr_reg[R_G1] = sysindex;
333 P->status.pr_lwp.pr_reg[R_SP] = sp;
334 P->status.pr_lwp.pr_reg[R_PC] = P->sysaddr;
335 P->status.pr_lwp.pr_reg[R_nPC] = P->sysaddr + sizeof (instr_t);
341 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
352 (void) Pputareg(P, R_O0+i, adp->arg_value);
356 Pwrite(P, &arglist[0], sizeof (int32_t) * nargs,
365 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,