Lines Matching refs:si_code
51 void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_report_trap() argument
54 force_sig_fault(si_signo, si_code, get_trap_ip(regs)); in do_report_trap()
62 static void do_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_trap() argument
67 do_report_trap(regs, si_signo, si_code, str); in do_trap()
126 int si_code = 0; in do_fp_trap() local
131 si_code = FPE_FLTINV; in do_fp_trap()
133 si_code = FPE_FLTDIV; in do_fp_trap()
135 si_code = FPE_FLTOVF; in do_fp_trap()
137 si_code = FPE_FLTUND; in do_fp_trap()
139 si_code = FPE_FLTRES; in do_fp_trap()
141 do_trap(regs, SIGFPE, si_code, "floating point exception"); in do_fp_trap()
194 int si_code, vic; in vector_exception() local
206 si_code = FPE_FLTINV; in vector_exception()
209 si_code = FPE_FLTDIV; in vector_exception()
212 si_code = FPE_FLTOVF; in vector_exception()
215 si_code = FPE_FLTUND; in vector_exception()
218 si_code = FPE_FLTRES; in vector_exception()
221 si_code = 0; in vector_exception()
223 do_trap(regs, SIGFPE, si_code, "vector exception"); in vector_exception()