Lines Matching refs:hw_brk
945 struct arch_hw_breakpoint hw_brk; in ptrace_set_debugreg() local
975 hw_brk.address = data & (~HW_BRK_TYPE_DABR); in ptrace_set_debugreg()
976 hw_brk.type = (data & HW_BRK_TYPE_DABR) | HW_BRK_TYPE_PRIV_ALL; in ptrace_set_debugreg()
977 hw_brk.len = 8; in ptrace_set_debugreg()
980 if ((!data) || !(hw_brk.type & HW_BRK_TYPE_RDWR)) { in ptrace_set_debugreg()
989 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
990 arch_bp_generic_fields(hw_brk.type, &attr.bp_type); in ptrace_set_debugreg()
1000 thread->hw_brk = hw_brk; in ptrace_set_debugreg()
1006 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
1007 arch_bp_generic_fields(hw_brk.type, in ptrace_set_debugreg()
1018 task->thread.hw_brk = hw_brk; in ptrace_set_debugreg()
1468 if (child->thread.hw_brk.address) in ppc_set_hwdebug()
1471 child->thread.hw_brk = brk; in ppc_set_hwdebug()
1513 if (child->thread.hw_brk.address == 0) in ppc_del_hwdebug()
1516 child->thread.hw_brk.address = 0; in ppc_del_hwdebug()
1517 child->thread.hw_brk.type = 0; in ppc_del_hwdebug()
1675 dabr_fake = ((child->thread.hw_brk.address & (~HW_BRK_TYPE_DABR)) | in arch_ptrace()
1676 (child->thread.hw_brk.type & HW_BRK_TYPE_DABR)); in arch_ptrace()