Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace-view.c204 if (regno == PT_TRAP) in ptrace_put_reg()
277 if (PT_MAX_PUT_REG + 1 < PT_TRAP && !ret) in gpr_set()
280 PT_TRAP * sizeof(reg)); in gpr_set()
284 PT_TRAP * sizeof(reg), in gpr_set()
285 (PT_TRAP + 1) * sizeof(reg)); in gpr_set()
292 (PT_TRAP + 1) * sizeof(reg), -1); in gpr_set()
687 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common()
695 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common()
700 if (count > 0 && pos == PT_TRAP) { in gpr32_set_common()
715 (PT_TRAP + 1) * sizeof(reg), -1); in gpr32_set_common()
Dptrace-tm.c171 if (PT_MAX_PUT_REG + 1 < PT_TRAP && !ret) in tm_cgpr_set()
174 PT_TRAP * sizeof(reg)); in tm_cgpr_set()
178 PT_TRAP * sizeof(reg), in tm_cgpr_set()
179 (PT_TRAP + 1) * sizeof(reg)); in tm_cgpr_set()
186 (PT_TRAP + 1) * sizeof(reg), -1); in tm_cgpr_set()
Dptrace.c468 CHECK_REG(PT_TRAP, trap); in pt_regs_check()
/Linux-v5.10/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-v5.10/tools/testing/selftests/vm/
Dpkey-powerpc.h14 #define REG_TRAPNO PT_TRAP
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dptrace.h113 #define PT_TRAP 40 macro