Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/powerpc/alignment/
Dcopy_first_unaligned.c27 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
29 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; in signal_action_handler()
Dalignment_handler.c71 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
73 ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; in sighandler()
/Linux-v4.19/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-v4.19/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c69 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
71 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
/Linux-v4.19/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-v4.19/arch/powerpc/include/uapi/asm/
Dptrace.h96 #define PT_NIP 32 macro
/Linux-v4.19/arch/powerpc/perf/
Dcallchain.c273 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
472 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
/Linux-v4.19/arch/powerpc/kernel/
Dsignal_64.c354 err |= __get_user(regs->nip, &sc->gp_regs[PT_NIP]); in restore_sigcontext()
461 err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
462 err |= __get_user(tsk->thread.tm_tfhar, &sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
Dsignal_32.c764 err |= __get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP]); in restore_tm_user_regs()