Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/arch/x86/kernel/
Dptrace.c483 if (thread->ptrace_bps[i] == bp) in ptrace_triggered()
568 old_dr7 = ptrace_get_dr7(thread->ptrace_bps); in ptrace_write_dr7()
575 struct perf_event *bp = thread->ptrace_bps[i]; in ptrace_write_dr7()
588 thread->ptrace_bps[i] = bp; in ptrace_write_dr7()
618 struct perf_event *bp = thread->ptrace_bps[index]; in ptrace_get_debugreg()
634 struct perf_event *bp = t->ptrace_bps[nr]; in ptrace_set_breakpoint_addr()
655 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.c179 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread()
/linux-6.6.21/arch/sh/include/asm/
Dprocessor_32.h100 struct perf_event *ptrace_bps[HBP_NUM]; member
/linux-6.6.21/arch/powerpc/kernel/
Dhw_breakpoint.c586 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
587 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
Dprocess.c1852 p->thread.ptrace_bps[i] = NULL; in copy_thread()
/linux-6.6.21/arch/powerpc/include/asm/
Dprocessor.h174 struct perf_event *ptrace_bps[HBP_NUM_MAX]; member
/linux-6.6.21/arch/x86/include/asm/
Dprocessor.h443 struct perf_event *ptrace_bps[HBP_NUM]; member