Lines Matching full:child

38 void ptrace_disable(struct task_struct *child)  in ptrace_disable()  argument
41 user_disable_single_step(child); in ptrace_disable()
44 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
61 || (child->thread.regs == NULL)) in arch_ptrace()
68 CHECK_FULL_REGS(child->thread.regs); in arch_ptrace()
70 ret = ptrace_get_reg(child, (int) index, &tmp); in arch_ptrace()
76 flush_fp_to_thread(child); in arch_ptrace()
78 memcpy(&tmp, &child->thread.TS_FPR(fpidx), in arch_ptrace()
81 tmp = child->thread.fp_state.fpscr; in arch_ptrace()
96 || (child->thread.regs == NULL)) in arch_ptrace()
103 CHECK_FULL_REGS(child->thread.regs); in arch_ptrace()
105 ret = ptrace_put_reg(child, index, data); in arch_ptrace()
109 flush_fp_to_thread(child); in arch_ptrace()
111 memcpy(&child->thread.TS_FPR(fpidx), &data, in arch_ptrace()
114 child->thread.fp_state.fpscr = data; in arch_ptrace()
137 return ppc_set_hwdebug(child, &bp_info); in arch_ptrace()
141 ret = ppc_del_hwdebug(child, data); in arch_ptrace()
146 ret = ptrace_get_debugreg(child, addr, datalp); in arch_ptrace()
150 ret = ptrace_set_debugreg(child, addr, data); in arch_ptrace()
156 case PTRACE_GETREGS: /* Get all pt_regs from the child. */ in arch_ptrace()
157 return copy_regset_to_user(child, &user_ppc_native_view, in arch_ptrace()
165 case PTRACE_SETREGS: /* Set all gp regs in the child. */ in arch_ptrace()
166 return copy_regset_from_user(child, &user_ppc_native_view, in arch_ptrace()
171 case PTRACE_GETFPREGS: /* Get the child FPU state (FPR0...31 + FPSCR) */ in arch_ptrace()
172 return copy_regset_to_user(child, &user_ppc_native_view, in arch_ptrace()
177 case PTRACE_SETFPREGS: /* Set the child FPU state (FPR0...31 + FPSCR) */ in arch_ptrace()
178 return copy_regset_from_user(child, &user_ppc_native_view, in arch_ptrace()
185 return copy_regset_to_user(child, &user_ppc_native_view, in arch_ptrace()
192 return copy_regset_from_user(child, &user_ppc_native_view, in arch_ptrace()
200 return copy_regset_to_user(child, &user_ppc_native_view, in arch_ptrace()
206 return copy_regset_from_user(child, &user_ppc_native_view, in arch_ptrace()
213 /* Get the child spe register state. */ in arch_ptrace()
214 return copy_regset_to_user(child, &user_ppc_native_view, in arch_ptrace()
219 /* Set the child spe register state. */ in arch_ptrace()
220 return copy_regset_from_user(child, &user_ppc_native_view, in arch_ptrace()
226 ret = ptrace_request(child, request, addr, data); in arch_ptrace()