Lines Matching defs:child
110 void user_enable_single_step(struct task_struct *child)
112 unsigned long pc = get_stack_long(child, offsetof(struct pt_regs, pc));
114 set_tsk_thread_flag(child, TIF_SINGLESTEP);
116 set_single_step(child, pc);
119 void user_disable_single_step(struct task_struct *child)
121 clear_tsk_thread_flag(child, TIF_SINGLESTEP);
129 void ptrace_disable(struct task_struct *child)
131 user_disable_single_step(child);
338 long arch_ptrace(struct task_struct *child, long request,
355 tmp = get_stack_long(child, addr);
358 if (!tsk_used_math(child)) {
365 ret = init_fpu(child);
369 tmp = ((unsigned long *)child->thread.xstate)
373 tmp = !!tsk_used_math(child);
375 tmp = child->mm->start_code;
377 tmp = child->mm->start_data;
379 tmp = child->mm->end_code;
381 tmp = child->mm->end_code - child->mm->start_code;
395 ret = put_stack_long(child, addr, data);
399 ret = init_fpu(child);
403 set_stopped_child_used_math(child);
404 ((unsigned long *)child->thread.xstate)
408 conditional_stopped_child_used_math(data, child);
414 return copy_regset_to_user(child, &user_sh_native_view,
419 return copy_regset_from_user(child, &user_sh_native_view,
425 return copy_regset_to_user(child, &user_sh_native_view,
430 return copy_regset_from_user(child, &user_sh_native_view,
437 return copy_regset_to_user(child, &user_sh_native_view,
442 return copy_regset_from_user(child, &user_sh_native_view,
448 ret = ptrace_request(child, request, addr, data);