Lines Matching refs:child
36 void user_enable_single_step(struct task_struct *child) in user_enable_single_step() argument
38 child->ptrace |= PT_SINGLESTEP; in user_enable_single_step()
41 void user_disable_single_step(struct task_struct *child) in user_disable_single_step() argument
43 child->ptrace &= ~PT_SINGLESTEP; in user_disable_single_step()
50 void ptrace_disable(struct task_struct *child) in ptrace_disable() argument
55 static int ptrace_getregs(struct task_struct *child, void __user *uregs) in ptrace_getregs() argument
57 struct pt_regs *regs = task_pt_regs(child); in ptrace_getregs()
81 static int ptrace_setregs(struct task_struct *child, void __user *uregs) in ptrace_setregs() argument
83 struct pt_regs *regs = task_pt_regs(child); in ptrace_setregs()
130 static int ptrace_getxregs(struct task_struct *child, void __user *uregs) in ptrace_getxregs() argument
132 struct pt_regs *regs = task_pt_regs(child); in ptrace_getxregs()
133 struct thread_info *ti = task_thread_info(child); in ptrace_getxregs()
154 static int ptrace_setxregs(struct task_struct *child, void __user *uregs) in ptrace_setxregs() argument
156 struct thread_info *ti = task_thread_info(child); in ptrace_setxregs()
157 struct pt_regs *regs = task_pt_regs(child); in ptrace_setxregs()
180 static int ptrace_peekusr(struct task_struct *child, long regno, in ptrace_peekusr() argument
186 regs = task_pt_regs(child); in ptrace_peekusr()
247 static int ptrace_pokeusr(struct task_struct *child, long regno, long val) in ptrace_pokeusr() argument
250 regs = task_pt_regs(child); in ptrace_pokeusr()
326 static long ptrace_gethbpregs(struct task_struct *child, long addr, in ptrace_gethbpregs() argument
339 bp = child->thread.ptrace_wp[idx]; in ptrace_gethbpregs()
341 bp = child->thread.ptrace_bp[idx]; in ptrace_gethbpregs()
360 static long ptrace_sethbpregs(struct task_struct *child, long addr, in ptrace_sethbpregs() argument
378 bp = child->thread.ptrace_wp[idx]; in ptrace_sethbpregs()
384 bp = child->thread.ptrace_bp[idx]; in ptrace_sethbpregs()
389 bp = ptrace_hbp_create(child, in ptrace_sethbpregs()
394 child->thread.ptrace_wp[idx] = bp; in ptrace_sethbpregs()
396 child->thread.ptrace_bp[idx] = bp; in ptrace_sethbpregs()
409 long arch_ptrace(struct task_struct *child, long request, in arch_ptrace() argument
418 ret = generic_ptrace_peekdata(child, addr, data); in arch_ptrace()
422 ret = ptrace_peekusr(child, addr, datap); in arch_ptrace()
427 ret = generic_ptrace_pokedata(child, addr, data); in arch_ptrace()
431 ret = ptrace_pokeusr(child, addr, data); in arch_ptrace()
435 ret = ptrace_getregs(child, datap); in arch_ptrace()
439 ret = ptrace_setregs(child, datap); in arch_ptrace()
443 ret = ptrace_getxregs(child, datap); in arch_ptrace()
447 ret = ptrace_setxregs(child, datap); in arch_ptrace()
451 ret = ptrace_gethbpregs(child, addr, datap); in arch_ptrace()
455 ret = ptrace_sethbpregs(child, addr, datap); in arch_ptrace()
459 ret = ptrace_request(child, request, addr, data); in arch_ptrace()