Lines Matching refs:tpc

64 	       regs->tpc);  in bad_kernel_pc()
69 unhandled_fault(regs->tpc, current, regs); in bad_kernel_pc()
79 static unsigned int get_user_insn(unsigned long tpc) in get_user_insn() argument
81 pgd_t *pgdp = pgd_offset(current->mm, tpc); in get_user_insn()
91 p4dp = p4d_offset(pgdp, tpc); in get_user_insn()
94 pudp = pud_offset(p4dp, tpc); in get_user_insn()
101 pmdp = pmd_offset(pudp, tpc); in get_user_insn()
108 pa += tpc & ~HPAGE_MASK; in get_user_insn()
117 ptep = pte_offset_map(pmdp, tpc); in get_user_insn()
121 pa += (tpc & ~PAGE_MASK); in get_user_insn()
149 (void *)regs->tpc, (void *)regs->u_regs[UREG_I7], in show_signal_msg()
152 print_vma_addr(KERN_CONT " in ", regs->tpc); in show_signal_msg()
164 addr = regs->tpc; in do_fault_siginfo()
185 if (!regs->tpc || (regs->tpc & 0x3)) in get_fault_insn()
188 insn = *(unsigned int *) regs->tpc; in get_fault_insn()
190 insn = get_user_insn(regs->tpc); in get_fault_insn()
234 entry = search_exception_tables(regs->tpc); in do_kernel_fault()
236 regs->tpc = entry->fixup; in do_kernel_fault()
237 regs->tnpc = regs->tpc + 4; in do_kernel_fault()
260 regs->tpc); in bogus_32bit_fault_tpc()
289 if (unlikely((regs->tpc >> 32) != 0)) { in do_sparc64_fault()
299 unsigned long tpc = regs->tpc; in do_sparc64_fault() local
302 if ((tpc >= KERNBASE && tpc < (unsigned long) __init_end) || in do_sparc64_fault()
303 (tpc >= MODULES_VADDR && tpc < MODULES_END)) { in do_sparc64_fault()
323 !search_exception_tables(regs->tpc)) { in do_sparc64_fault()
399 WARN(address != regs->tpc, in do_sparc64_fault()
400 "address (%lx) != regs->tpc (%lx)\n", address, regs->tpc); in do_sparc64_fault()