Home
last modified time | relevance | path

Searched refs:PT_TRAP (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/powerpc/kernel/ptrace/
Dptrace-view.c205 if (regno == PT_TRAP) in ptrace_put_reg()
269 if (PT_MAX_PUT_REG + 1 < PT_TRAP && !ret) in gpr_set()
272 PT_TRAP * sizeof(reg)); in gpr_set()
276 PT_TRAP * sizeof(reg), in gpr_set()
277 (PT_TRAP + 1) * sizeof(reg)); in gpr_set()
284 (PT_TRAP + 1) * sizeof(reg), -1); in gpr_set()
735 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common_kernel()
738 if (count > 0 && pos == PT_TRAP) { in gpr32_set_common_kernel()
748 (PT_TRAP + 1) * sizeof(compat_ulong_t), -1); in gpr32_set_common_kernel()
783 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common_user()
[all …]
Dptrace-tm.c172 if (PT_MAX_PUT_REG + 1 < PT_TRAP && !ret) in tm_cgpr_set()
175 PT_TRAP * sizeof(reg)); in tm_cgpr_set()
179 PT_TRAP * sizeof(reg), in tm_cgpr_set()
180 (PT_TRAP + 1) * sizeof(reg)); in tm_cgpr_set()
187 (PT_TRAP + 1) * sizeof(reg), -1); in tm_cgpr_set()
Dptrace.c431 CHECK_REG(PT_TRAP, trap); in pt_regs_check()
/linux-6.12.1/tools/testing/selftests/powerpc/signal/
Dsigfuz.c161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
174 ucp->uc_link->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
/linux-6.12.1/tools/testing/selftests/mm/
Dpkey-powerpc.h13 #define REG_TRAPNO PT_TRAP
/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dptrace.h113 #define PT_TRAP 40 macro