Home
last modified time | relevance | path

Searched refs:ptrace_bps (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c121 bp = thread->ptrace_bps[0]; in ptrace_set_debugreg()
125 thread->ptrace_bps[0] = NULL; in ptrace_set_debugreg()
142 thread->ptrace_bps[0] = bp; in ptrace_set_debugreg()
154 thread->ptrace_bps[0] = bp = register_user_hw_breakpoint(&attr, in ptrace_set_debugreg()
157 thread->ptrace_bps[0] = NULL; in ptrace_set_debugreg()
175 if (!thread->ptrace_bps[i]) in find_empty_ptrace_bp()
244 thread->ptrace_bps[i] = bp; in ppc_set_hwdebug()
246 thread->ptrace_bps[i] = NULL; in ppc_set_hwdebug()
279 bp = thread->ptrace_bps[data - 1]; in ppc_del_hwdebug()
282 thread->ptrace_bps[data - 1] = NULL; in ppc_del_hwdebug()
/linux-6.1.9/arch/sh/kernel/
Dprocess_32.c110 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread()
Dhw_breakpoint.c268 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
269 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
Dptrace_32.c81 bp = thread->ptrace_bps[0]; in set_single_step()
94 thread->ptrace_bps[0] = bp; in set_single_step()
/linux-6.1.9/arch/x86/kernel/
Dptrace.c463 if (thread->ptrace_bps[i] == bp) in ptrace_triggered()
548 old_dr7 = ptrace_get_dr7(thread->ptrace_bps); in ptrace_write_dr7()
555 struct perf_event *bp = thread->ptrace_bps[i]; in ptrace_write_dr7()
568 thread->ptrace_bps[i] = bp; in ptrace_write_dr7()
598 struct perf_event *bp = thread->ptrace_bps[index]; in ptrace_get_debugreg()
614 struct perf_event *bp = t->ptrace_bps[nr]; in ptrace_set_breakpoint_addr()
635 t->ptrace_bps[nr] = bp; in ptrace_set_breakpoint_addr()
Dhw_breakpoint.c475 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
476 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
Dprocess.c153 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread()
/linux-6.1.9/arch/sh/include/asm/
Dprocessor_32.h99 struct perf_event *ptrace_bps[HBP_NUM]; member
/linux-6.1.9/arch/powerpc/kernel/
Dhw_breakpoint.c846 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
847 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
Dprocess.c1787 p->thread.ptrace_bps[i] = NULL; in copy_thread()
/linux-6.1.9/arch/powerpc/include/asm/
Dprocessor.h174 struct perf_event *ptrace_bps[HBP_NUM_MAX]; member
/linux-6.1.9/arch/x86/include/asm/
Dprocessor.h498 struct perf_event *ptrace_bps[HBP_NUM]; member