Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dsignal.c127 if (current->thread.hw_brk.address && in do_signal()
128 current->thread.hw_brk.type) in do_signal()
129 __set_breakpoint(&current->thread.hw_brk); in do_signal()
Dptrace.c945 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()
[all …]
Dptrace32.c272 (child->thread.hw_brk.address & (~HW_BRK_TYPE_DABR)) | in compat_arch_ptrace()
273 (child->thread.hw_brk.type & HW_BRK_TYPE_DABR)); in compat_arch_ptrace()
Dprocess.c428 thread->hw_brk.address = 0; in set_debug_reg_defaults()
429 thread->hw_brk.type = 0; in set_debug_reg_defaults()
430 set_breakpoint(&thread->hw_brk); in set_debug_reg_defaults()
845 if (unlikely(!hw_brk_match(&__get_cpu_var(current_brk), &new->thread.hw_brk))) in __switch_to()
846 __set_breakpoint(&new->thread.hw_brk); in __switch_to()
/arch/powerpc/include/asm/
Dprocessor.h243 struct arch_hw_breakpoint hw_brk; /* info on the hardware breakpoint */ member