Lines Matching full:child
51 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument
67 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg()
91 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg()
96 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg()
100 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument
106 return putreg(child, addr, data); in poke_user()
113 child->thread.arch.debugregs[addr] = data; in poke_user()
119 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument
148 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg()
152 int peek_user(struct task_struct *child, long addr, long data) in peek_user() argument
161 tmp = getreg(child, addr); in peek_user()
167 tmp = child->thread.arch.debugregs[addr]; in peek_user()
172 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace() argument
178 case PTRACE_GETFPREGS: /* Get the child FPU state. */ in subarch_ptrace()
179 return copy_regset_to_user(child, task_user_regset_view(child), in subarch_ptrace()
183 case PTRACE_SETFPREGS: /* Set the child FPU state. */ in subarch_ptrace()
184 return copy_regset_from_user(child, task_user_regset_view(child), in subarch_ptrace()
188 case PTRACE_GETFPXREGS: /* Get the child FPU state. */ in subarch_ptrace()
189 return copy_regset_to_user(child, task_user_regset_view(child), in subarch_ptrace()
193 case PTRACE_SETFPXREGS: /* Set the child FPU state. */ in subarch_ptrace()
194 return copy_regset_from_user(child, task_user_regset_view(child), in subarch_ptrace()