Searched refs:PT_NIP (Results 1 – 13 of 13) sorted by relevance
22 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()
80 u32 inst = *(u32 *)ucp->uc_mcontext.gp_regs[PT_NIP]; in sighandler()81 ucp->uc_mcontext.gp_regs[PT_NIP] += ((inst >> 26 == 1) ? 8 : 4); in sighandler()83 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()86 ucp->uc_mcontext.uc_regs->gregs[PT_NIP] += 4; in sighandler()
116 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()
139 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]142 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]16 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.uc_regs->gregs[PT_NIP]
155 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()
13 #define REG_IP_IDX PT_NIP
101 #define PT_NIP 32 macro
130 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
162 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
343 err |= __get_user(regs->nip, &sc->gp_regs[PT_NIP]); in restore_sigcontext()450 err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()451 err |= __get_user(tsk->thread.tm_tfhar, &sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
607 err |= __get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP]); in restore_tm_user_regs()
456 CHECK_REG(PT_NIP, nip); in pt_regs_check()