Lines Matching refs:phdl
43 proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue)
47 if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
48 phdl->status == PS_IDLE) {
53 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0)
87 proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue)
91 if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
92 phdl->status == PS_IDLE) {
96 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0)
125 if (ptrace(PT_SETREGS, proc_getpid(phdl), (caddr_t)®s, 0) < 0)