Lines Matching defs:child
60 int ptrace_get_debugreg(struct task_struct *child, unsigned long addr,
68 dabr_fake = ((child->thread.hw_brk[0].address & (~HW_BRK_TYPE_DABR)) |
69 (child->thread.hw_brk[0].type & HW_BRK_TYPE_DABR));
193 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info)
198 struct thread_struct *thread = &child->thread;
243 bp = register_user_hw_breakpoint(&attr, ptrace_triggered, NULL, child);
256 i = find_empty_hw_brk(&child->thread);
263 child->thread.hw_brk[i] = brk;
268 long ppc_del_hwdebug(struct task_struct *child, long data)
272 struct thread_struct *thread = &child->thread;
288 if (!(child->thread.hw_brk[data - 1].flags & HW_BRK_FLAG_DISABLED) &&
289 child->thread.hw_brk[data - 1].address == 0)
292 child->thread.hw_brk[data - 1].address = 0;
293 child->thread.hw_brk[data - 1].type = 0;
294 child->thread.hw_brk[data - 1].flags = 0;