Lines Matching refs:code
309 static void show_signal_msg(int signr, struct pt_regs *regs, int code, in show_signal_msg() argument
326 addr, regs->nip, regs->link, code); in show_signal_msg()
335 static bool exception_common(int signr, struct pt_regs *regs, int code, in exception_common() argument
352 show_signal_msg(signr, regs, code, addr); in exception_common()
354 current->thread.trap_nr = code; in exception_common()
367 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
369 if (!exception_common(signr, regs, code, addr)) in _exception()
372 force_sig_fault(signr, code, (void __user *)addr); in _exception()
1197 int code = 0; in parse_fpe() local
1202 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe()
1205 _exception(SIGFPE, regs, code, regs->nip); in parse_fpe()
1462 int code = 0; in emulate_math() local
1463 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
1464 _exception(SIGFPE, regs, code, regs->nip); in emulate_math()
1642 int sig, code, fixed = 0; in DEFINE_INTERRUPT_HANDLER() local
1650 code = BUS_ADRALN; in DEFINE_INTERRUPT_HANDLER()
1671 code = SEGV_ACCERR; in DEFINE_INTERRUPT_HANDLER()
1674 code = BUS_ADRALN; in DEFINE_INTERRUPT_HANDLER()
1678 _exception(sig, regs, code, regs->dar); in DEFINE_INTERRUPT_HANDLER()
2152 int code = FPE_FLTUNK; in DEFINE_INTERRUPT_HANDLER() local
2163 code = FPE_FLTOVF; in DEFINE_INTERRUPT_HANDLER()
2166 code = FPE_FLTUND; in DEFINE_INTERRUPT_HANDLER()
2169 code = FPE_FLTDIV; in DEFINE_INTERRUPT_HANDLER()
2171 code = FPE_FLTINV; in DEFINE_INTERRUPT_HANDLER()
2174 code = FPE_FLTRES; in DEFINE_INTERRUPT_HANDLER()
2191 _exception(SIGFPE, regs, code, regs->nip); in DEFINE_INTERRUPT_HANDLER()