Home
last modified time | relevance | path

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

/Linux-v6.6/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()
740 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common_kernel()
743 if (count > 0 && pos == PT_TRAP) { in gpr32_set_common_kernel()
753 (PT_TRAP + 1) * sizeof(compat_ulong_t), -1); in gpr32_set_common_kernel()
788 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.c434 CHECK_REG(PT_TRAP, trap); in pt_regs_check()
/Linux-v6.6/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-v6.6/tools/testing/selftests/mm/
Dpkey-powerpc.h11 #define REG_TRAPNO PT_TRAP
/Linux-v6.6/arch/powerpc/include/uapi/asm/
Dptrace.h113 #define PT_TRAP 40 macro