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()
109 pa += tpc & ~HPAGE_MASK; in get_user_insn()
118 ptep = pte_offset_map(pmdp, tpc); in get_user_insn()
124 pa += (tpc & ~PAGE_MASK); in get_user_insn()
152 (void *)regs->tpc, (void *)regs->u_regs[UREG_I7], in show_signal_msg()
155 print_vma_addr(KERN_CONT " in ", regs->tpc); in show_signal_msg()
167 addr = regs->tpc; in do_fault_siginfo()
188 if (!regs->tpc || (regs->tpc & 0x3)) in get_fault_insn()
191 insn = *(unsigned int *) regs->tpc; in get_fault_insn()
193 insn = get_user_insn(regs->tpc); in get_fault_insn()
237 entry = search_exception_tables(regs->tpc); in do_kernel_fault()
239 regs->tpc = entry->fixup; in do_kernel_fault()
240 regs->tnpc = regs->tpc + 4; in do_kernel_fault()
263 regs->tpc); in bogus_32bit_fault_tpc()
292 if (unlikely((regs->tpc >> 32) != 0)) { in do_sparc64_fault()
302 unsigned long tpc = regs->tpc; in do_sparc64_fault() local
305 if ((tpc >= KERNBASE && tpc < (unsigned long) __init_end) || in do_sparc64_fault()
306 (tpc >= MODULES_VADDR && tpc < MODULES_END)) { in do_sparc64_fault()
326 !search_exception_tables(regs->tpc)) { in do_sparc64_fault()
403 WARN(address != regs->tpc, in do_sparc64_fault()
404 "address (%lx) != regs->tpc (%lx)\n", address, regs->tpc); in do_sparc64_fault()