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