Home
last modified time | relevance | path

Searched refs:PT_NIP (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/tools/testing/selftests/powerpc/alignment/
Dcopy_first_unaligned.c22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
24 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; in signal_action_handler()
Dalignment_handler.c71 u32 inst = *(u32 *)ucp->uc_mcontext.gp_regs[PT_NIP]; in sighandler()
72 ucp->uc_mcontext.gp_regs[PT_NIP] += ((inst >> 26 == 1) ? 8 : 4); in sighandler()
74 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
77 ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; in sighandler()
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-trap.c116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
/linux-6.6.21/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
16 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
/linux-6.6.21/tools/testing/selftests/powerpc/include/
Dutils.h202 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
205 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
/linux-6.6.21/tools/testing/selftests/powerpc/signal/
Dsigfuz.c155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
/linux-6.6.21/tools/testing/selftests/mm/
Dpkey-powerpc.h10 #define REG_IP_IDX PT_NIP
/linux-6.6.21/arch/powerpc/perf/
Dcallchain_64.c104 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
Dcallchain_32.c162 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dptrace.h101 #define PT_NIP 32 macro
/linux-6.6.21/arch/powerpc/kernel/
Dsignal_64.c358 unsafe_get_user(regs->nip, &sc->gp_regs[PT_NIP], efault_out); in __unsafe_restore_sigcontext()
469 err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
470 err |= __get_user(tsk->thread.tm_tfhar, &sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
Dsignal_32.c592 unsafe_get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP], failed); in restore_tm_user_regs()
/linux-6.6.21/arch/powerpc/kernel/ptrace/
Dptrace.c422 CHECK_REG(PT_NIP, nip); in pt_regs_check()