Lines Matching defs:child
34 * does not yet catch signals sent when the child dies.
242 void user_enable_single_step(struct task_struct *child)
244 child->thread.frame0->__status |= REG__STATUS_STEP;
247 void user_disable_single_step(struct task_struct *child)
249 child->thread.frame0->__status &= ~REG__STATUS_STEP;
252 void ptrace_disable(struct task_struct *child)
254 user_disable_single_step(child);
257 long arch_ptrace(struct task_struct *child, long request, long addr, long data)
273 tmp = get_reg(child, addr >> 2);
277 tmp = child->mm->end_code - child->mm->start_code;
281 tmp = child->mm->end_data - child->mm->start_data;
285 tmp = child->mm->start_stack - child->mm->start_brk;
289 tmp = child->mm->start_code;
293 tmp = child->mm->start_stack;
314 ret = put_reg(child, addr >> 2, data);
323 case PTRACE_GETREGS: /* Get all integer regs from the child. */
324 return copy_regset_to_user(child, &user_frv_native_view,
326 0, sizeof(child->thread.user->i),
329 case PTRACE_SETREGS: /* Set all integer regs in the child. */
330 return copy_regset_from_user(child, &user_frv_native_view,
332 0, sizeof(child->thread.user->i),
335 case PTRACE_GETFPREGS: /* Get the child FP/Media state. */
336 return copy_regset_to_user(child, &user_frv_native_view,
338 0, sizeof(child->thread.user->f),
341 case PTRACE_SETFPREGS: /* Set the child FP/Media state. */
342 return copy_regset_from_user(child, &user_frv_native_view,
344 0, sizeof(child->thread.user->f),
348 ret = ptrace_request(child, request, addr, data);