Home
last modified time | relevance | path

Searched refs:hw_brk (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace-noadv.c87 struct arch_hw_breakpoint hw_brk; in ptrace_set_debugreg() local
117 hw_brk.len = DABR_MAX_LEN; in ptrace_set_debugreg()
118 hw_brk.hw_len = DABR_MAX_LEN; in ptrace_set_debugreg()
131 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
143 thread->hw_brk[0] = hw_brk; in ptrace_set_debugreg()
149 attr.bp_addr = hw_brk.address; in ptrace_set_debugreg()
151 arch_bp_generic_fields(hw_brk.type, in ptrace_set_debugreg()
165 task->thread.hw_brk[0] = hw_brk; in ptrace_set_debugreg()
187 if (!thread->hw_brk[i].address) in find_empty_hw_brk()
263 child->thread.hw_brk[i] = brk; in ppc_set_hwdebug()
[all …]
A Dptrace32.c260 (child->thread.hw_brk[0].address & (~HW_BRK_TYPE_DABR)) | in compat_arch_ptrace()
261 (child->thread.hw_brk[0].type & HW_BRK_TYPE_DABR)); in compat_arch_ptrace()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsignal.c275 if (tsk->thread.hw_brk[i].address && tsk->thread.hw_brk[i].type) in do_signal()
276 __set_breakpoint(i, &tsk->thread.hw_brk[i]); in do_signal()
A Dprocess.c640 current->thread.hw_brk[0] = null_brk; in do_break_handler()
641 current->thread.hw_brk[0].flags |= HW_BRK_FLAG_DISABLED; in do_break_handler()
649 info = &current->thread.hw_brk[i]; in do_break_handler()
655 current->thread.hw_brk[i] = null_brk; in do_break_handler()
656 current->thread.hw_brk[i].flags |= HW_BRK_FLAG_DISABLED; in do_break_handler()
773 thread->hw_brk[i] = null_brk; in set_debug_reg_defaults()
775 set_breakpoint(i, &thread->hw_brk[i]); in set_debug_reg_defaults()
798 &new->thread.hw_brk[i]))) in switch_hw_breakpoint()
801 __set_breakpoint(i, &new->thread.hw_brk[i]); in switch_hw_breakpoint()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dprocessor.h181 struct arch_hw_breakpoint hw_brk[HBP_NUM_MAX]; /* hardware breakpoint info */ member

Completed in 11 milliseconds