Lines Matching refs:child
43 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, in compat_arch_ptrace() argument
73 copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace()
86 regs = task_pt_regs(child); in compat_arch_ptrace()
97 if (!tsk_used_math(child)) { in compat_arch_ptrace()
102 fregs = get_fpu_regs(child); in compat_arch_ptrace()
103 if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { in compat_arch_ptrace()
117 tmp = child->thread.fpu.fcr31; in compat_arch_ptrace()
147 dregs = __get_dsp_regs(child); in compat_arch_ptrace()
157 tmp = child->thread.dsp.dspcontrol; in compat_arch_ptrace()
186 if (ptrace_access_vm(child, (u64)addrOthers, &data, in compat_arch_ptrace()
197 regs = task_pt_regs(child); in compat_arch_ptrace()
204 mips_syscall_update_nr(child, regs); in compat_arch_ptrace()
206 mips_syscall_is_indirect(child, regs)) in compat_arch_ptrace()
207 mips_syscall_update_nr(child, regs); in compat_arch_ptrace()
211 union fpureg *fregs = get_fpu_regs(child); in compat_arch_ptrace()
213 if (!tsk_used_math(child)) { in compat_arch_ptrace()
215 memset(&child->thread.fpu, ~0, in compat_arch_ptrace()
216 sizeof(child->thread.fpu)); in compat_arch_ptrace()
217 child->thread.fpu.fcr31 = 0; in compat_arch_ptrace()
219 if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) { in compat_arch_ptrace()
233 child->thread.fpu.fcr31 = data; in compat_arch_ptrace()
253 dregs = __get_dsp_regs(child); in compat_arch_ptrace()
262 child->thread.dsp.dspcontrol = data; in compat_arch_ptrace()
273 ret = ptrace_getregs(child, in compat_arch_ptrace()
278 ret = ptrace_setregs(child, in compat_arch_ptrace()
284 ret = ptrace_getfpregs(child, (__u32 __user *) (__u64) data); in compat_arch_ptrace()
288 ret = ptrace_setfpregs(child, (__u32 __user *) (__u64) data); in compat_arch_ptrace()
292 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
297 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
302 ret = ptrace_get_watch_regs(child, in compat_arch_ptrace()
307 ret = ptrace_set_watch_regs(child, in compat_arch_ptrace()
312 ret = compat_ptrace_request(child, request, addr, data); in compat_arch_ptrace()