/arch/sparc/kernel/ |
D | signal_64.c | 80 regs->tnpc = npc; in sparc64_set_context() 167 regs->tpc = (regs->tnpc & 0xffffffff); in sparc64_get_context() 168 regs->tnpc = (regs->tnpc + 4) & 0xffffffff; in sparc64_get_context() 170 regs->tpc = regs->tnpc; in sparc64_get_context() 171 regs->tnpc += 4; in sparc64_get_context() 183 err |= __put_user(regs->tnpc, &((*grp)[MC_NPC])); in sparc64_get_context() 258 unsigned long tpc, tnpc, tstate, ufp; in do_rt_sigreturn() local 283 err |= __get_user(tnpc, &sf->regs.tnpc); in do_rt_sigreturn() 286 tnpc &= 0xffffffff; in do_rt_sigreturn() 288 err |= ((tpc | tnpc) & 3); in do_rt_sigreturn() [all …]
|
D | uprobes.c | 95 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup() 111 return (real_pc + (regs->tnpc - ixol_addr)); in relbranch_fixup() 117 return regs->tnpc; in relbranch_fixup() 175 regs->tnpc += 4; in arch_uprobe_skip_sstep() 199 autask->saved_tnpc = regs->tnpc; in arch_uprobe_pre_xol() 224 regs->tnpc = relbranch_fixup(insn, utask, regs); in arch_uprobe_post_xol() 228 regs->tnpc = utask->vaddr+4; in arch_uprobe_post_xol()
|
D | kgdb_64.c | 38 gdb_regs[GDB_NPC] = regs->tnpc; in pt_regs_to_gdb_regs() 106 regs->tnpc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs() 149 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception() 156 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception() 157 linux_regs->tnpc += 4; in kgdb_arch_handle_exception() 195 regs->tnpc = regs->tpc + 4; in kgdb_arch_set_pc()
|
D | kprobes.c | 97 kcb->kprobe_orig_tnpc = regs->tnpc; in set_current_kprobe() 109 regs->tnpc = kcb->kprobe_orig_tnpc; in prepare_singlestep() 112 regs->tnpc = (unsigned long) &p->ainsn.insn[1]; in prepare_singlestep() 207 if (regs->tnpc == regs->tpc + 0x4UL) in relbranch_fixup() 224 return (real_pc + (regs->tnpc - ainsn_addr)); in relbranch_fixup() 230 return regs->tnpc; in relbranch_fixup() 282 regs->tnpc = relbranch_fixup(insn, p, regs); in resume_execution() 337 regs->tnpc = kcb->kprobe_orig_tnpc; in kprobe_fault_handler() 373 regs->tnpc = regs->tpc + 4; in kprobe_fault_handler() 512 regs->tnpc = orig_ret_address + 4; in trampoline_probe_handler()
|
D | utrap.S | 26 rdpr %tnpc, %l7 27 wrpr %g1, 0, %tnpc
|
D | signal32.c | 126 regs->tnpc = npc; in do_sigreturn32() 214 regs->tnpc = npc; in do_rt_sigreturn32() 387 regs->tnpc &= 0xffffffff; in setup_frame32() 390 err |= __put_user(regs->tnpc, &sf->info.si_regs.npc); in setup_frame32() 460 regs->tnpc = (regs->tpc + 4); in setup_frame32() 463 regs->tnpc &= 0xffffffff; in setup_frame32() 521 regs->tnpc &= 0xffffffff; in setup_rt_frame32() 524 err |= __put_user(regs->tnpc, &sf->regs.npc); in setup_rt_frame32() 592 regs->tnpc = (regs->tpc + 4); in setup_rt_frame32() 595 regs->tnpc &= 0xffffffff; in setup_rt_frame32() [all …]
|
D | etrap_64.S | 58 rdpr %tnpc, %g1 181 wrpr %l2, %tnpc 228 rdpr %tnpc, %g3 238 rdpr %tnpc, %g3 253 rdpr %tnpc, %g3 263 rdpr %tnpc, %g3
|
D | traps_64.c | 63 unsigned long tnpc; member 83 p->trapstack[i].tnpc, p->trapstack[i].tt); in dump_tl1_traplog() 108 regs->tnpc &= 0xffffffff; in bad_trap() 202 regs->tnpc &= 0xffffffff; in spitfire_insn_access_exception() 238 regs->tnpc &= 0xffffffff; in sun4v_insn_access_exception() 313 regs->tnpc = regs->tpc + 4; in spitfire_data_access_exception() 362 regs->tnpc = regs->tpc + 4; in sun4v_data_access_exception() 373 regs->tnpc &= 0xffffffff; in sun4v_data_access_exception() 570 regs->tnpc &= 0xffffffff; in spitfire_ue_log() 593 regs->tnpc = regs->tpc + 4; in spitfire_access_error() [all …]
|
D | winfixup.S | 110 wrpr %g3, %tnpc 137 wrpr %g3, %tnpc
|
D | process_64.c | 182 regs->tpc, regs->tnpc, regs->y, print_tainted()); in show_regs() 215 rp->tnpc = regs->tnpc; in __global_reg_self() 286 gp->tstate, gp->tpc, gp->tnpc, in arch_trigger_cpumask_backtrace()
|
D | unaligned_64.c | 241 regs->tpc = regs->tnpc; in advance() 242 regs->tnpc += 4; in advance() 245 regs->tnpc &= 0xffffffff; in advance() 288 regs->tnpc = regs->tpc + 4; in kernel_mna_trap_fault()
|
D | sys_sparc_64.c | 512 regs->tnpc &= 0xffffffff; in sparc_breakpoint() 515 printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint() 519 printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
|
D | visemul.c | 896 regs->tpc = regs->tnpc; in vis_emul() 897 regs->tnpc += 4; in vis_emul()
|
D | ptrace_64.c | 600 reg = regs->tnpc; in genregs32_get() 727 regs->tnpc = reg; in genregs32_set()
|
D | rtrap_64.S | 230 wrpr %o2, %g0, %tnpc
|
D | tsb.S | 308 wrpr %g3, %tnpc ! Write it into TNPC
|
/arch/sparc/include/asm/ |
D | ptrace.h | 43 unsigned long tnpc; member 68 (regs)->tnpc = (val)+4; \
|
D | perf_event.h | 24 (regs)->tnpc = (regs)->tpc + 4; \
|
D | processor_64.h | 102 regs->tnpc = regs->tpc + 4; \ 146 regs->tnpc = regs->tpc + 4; \
|
D | sigcontext.h | 79 unsigned long tnpc; member
|
/arch/sparc/math-emu/ |
D | math_64.c | 154 regs->tpc = regs->tnpc; in record_exception() 155 regs->tnpc += 4; in record_exception() 348 regs->tpc = regs->tnpc; in do_mathemu() 349 regs->tnpc += 4; in do_mathemu() 520 regs->tpc = regs->tnpc; in do_mathemu() 521 regs->tnpc += 4; in do_mathemu()
|
/arch/sparc/include/uapi/asm/ |
D | ptrace.h | 26 unsigned long tnpc; member
|
/arch/sparc/mm/ |
D | fault_64.c | 234 regs->tnpc = regs->tpc + 4; in do_kernel_fault()
|
D | ultra.S | 667 rdpr %tnpc, %g7
|
D | init_64.c | 2991 regs->tnpc = regs->tpc + 4; in hugetlb_setup()
|