Home
last modified time | relevance | path

Searched refs:si_code (Results 1 – 25 of 114) sorted by relevance

12345

/linux-3.4.99/arch/blackfin/kernel/
Dtraps.c27 kgdb_handle_exception(trapnr, sig, info.si_code, fp); \
113 info.si_code = TRAP_ILLTRAP; in trap_c()
123 info.si_code = SEGV_STACKFLOW; in trap_c()
131 info.si_code = TRAP_ILLTRAP; in trap_c()
152 info.si_code = ILL_ILLPARAOP; in trap_c()
159 info.si_code = TRAP_STEP; in trap_c()
169 info.si_code = TRAP_TRACEFLOW; in trap_c()
221 info.si_code = ILL_ILLOPC; in trap_c()
228 info.si_code = ILL_ILLPARAOP; in trap_c()
235 info.si_code = ILL_CPLB_VI; in trap_c()
[all …]
/linux-3.4.99/arch/alpha/math-emu/
Dmath.c107 long si_code; in alpha_fp_emul() local
311 si_code = 0; in alpha_fp_emul()
313 if (_fex & IEEE_TRAP_ENABLE_DNO) si_code = FPE_FLTUND; in alpha_fp_emul()
314 if (_fex & IEEE_TRAP_ENABLE_INE) si_code = FPE_FLTRES; in alpha_fp_emul()
315 if (_fex & IEEE_TRAP_ENABLE_UNF) si_code = FPE_FLTUND; in alpha_fp_emul()
316 if (_fex & IEEE_TRAP_ENABLE_OVF) si_code = FPE_FLTOVF; in alpha_fp_emul()
317 if (_fex & IEEE_TRAP_ENABLE_DZE) si_code = FPE_FLTDIV; in alpha_fp_emul()
318 if (_fex & IEEE_TRAP_ENABLE_INV) si_code = FPE_FLTINV; in alpha_fp_emul()
321 return si_code; in alpha_fp_emul()
340 unsigned long insn, opcode, rc, si_code = 0; in alpha_fp_emul_imprecise() local
[all …]
/linux-3.4.99/arch/hexagon/mm/
Dvm_fault.c53 int si_code = SEGV_MAPERR; in do_page_fault() local
82 si_code = SEGV_ACCERR; in do_page_fault()
128 info.si_code = BUS_ADRERR; in do_page_fault()
133 info.si_code = SEGV_ACCERR; in do_page_fault()
137 force_sig_info(info.si_code, &info, current); in do_page_fault()
146 info.si_code = si_code; in do_page_fault()
/linux-3.4.99/arch/alpha/kernel/
Dtraps.c216 long si_code = FPE_FLTINV; in do_entArith() local
224 si_code = alpha_fp_emul(regs->pc - 4); in do_entArith()
226 si_code = alpha_fp_emul_imprecise(regs, write_mask); in do_entArith()
227 if (si_code == 0) in do_entArith()
234 info.si_code = si_code; in do_entArith()
261 info.si_code = TRAP_BRKPT; in do_entIF()
275 info.si_code = __SI_FAULT; in do_entIF()
343 info.si_code = code; in do_entIF()
350 long si_code; in do_entIF() local
365 si_code = alpha_fp_emul(regs->pc - 4); in do_entIF()
[all …]
/linux-3.4.99/arch/sparc/kernel/
Dtraps_32.c106 info.si_code = ILL_ILLTRP; in do_hw_interrupt()
128 info.si_code = ILL_ILLOPC; in do_illegal_instruction()
143 info.si_code = ILL_PRVOPC; in do_priv_instruction()
169 info.si_code = BUS_ADRALN; in do_memaccess_unaligned()
311 info.si_code = __SI_FAULT;
314 info.si_code = FPE_FLTINV;
316 info.si_code = FPE_FLTOVF;
318 info.si_code = FPE_FLTUND;
320 info.si_code = FPE_FLTDIV;
322 info.si_code = FPE_FLTRES;
[all …]
/linux-3.4.99/arch/ia64/kernel/
Dtraps.c182 siginfo.si_code = code; in ia64_bad_break()
349 siginfo.si_code = __SI_FAULT; /* default code */ in handle_fpu_swa()
352 siginfo.si_code = FPE_FLTINV; in handle_fpu_swa()
356 siginfo.si_code = FPE_FLTUND; in handle_fpu_swa()
358 siginfo.si_code = FPE_FLTDIV; in handle_fpu_swa()
373 siginfo.si_code = __SI_FAULT; /* default code */ in handle_fpu_swa()
376 siginfo.si_code = FPE_FLTOVF; in handle_fpu_swa()
378 siginfo.si_code = FPE_FLTUND; in handle_fpu_swa()
380 siginfo.si_code = FPE_FLTRES; in handle_fpu_swa()
421 si.si_code = ILL_ILLOPC; in ia64_illegal_op_fault()
[all …]
Dbrl_emu.c204 siginfo.si_code = ILL_BADIADDR; in ia64_emulate_brl()
213 siginfo.si_code = TRAP_BRANCH; in ia64_emulate_brl()
226 siginfo.si_code = TRAP_TRACE; in ia64_emulate_brl()
/linux-3.4.99/arch/mn10300/kernel/
Dfpu.c53 info.si_code = FPE_FLTINV; in fpu_exception()
60 info.si_code = FPE_FLTDIV; in fpu_exception()
62 info.si_code = FPE_FLTOVF; in fpu_exception()
64 info.si_code = FPE_FLTUND; in fpu_exception()
66 info.si_code = FPE_FLTRES; in fpu_exception()
Dtraps.c54 u32 si_code; member
128 int signo, si_code; in die_if_no_fixup() local
136 si_code = exception_to_signal_map[code >> 3].si_code; in die_if_no_fixup()
166 si_code = TRAP_BRKPT; in die_if_no_fixup()
187 if (debugger_intercept(code, signo, si_code, regs) == 0) in die_if_no_fixup()
210 info.si_code = exception_to_signal_map[intcode >> 3].si_code; in handle_exception()
/linux-3.4.99/arch/frv/kernel/
Dtraps.c49 info.si_code = SEGV_ACCERR; in insn_access_error()
80 info.si_code = ILL_ILLOPC; in illegal_instruction()
84 info.si_code = ILL_PRVOPC; in illegal_instruction()
88 info.si_code = ILL_ILLTRP; in illegal_instruction()
94 info.si_code = in illegal_instruction()
323 info.si_code = SEGV_ACCERR; in atomic_operation()
344 info.si_code = FPE_MDAOVF; in media_exception()
378 info.si_code = SEGV_ACCERR; in memory_access_exception()
410 info.si_code = SEGV_ACCERR; in data_access_error()
444 info.si_code = FPE_INTDIV; in division_exception()
/linux-3.4.99/arch/alpha/mm/
Dfault.c90 int fault, si_code = SEGV_MAPERR; in do_page_fault() local
131 si_code = SEGV_ACCERR; in do_page_fault()
199 info.si_code = BUS_ADRERR; in do_page_fault()
209 info.si_code = si_code; in do_page_fault()
/linux-3.4.99/arch/sh/mm/
Dfault_32.c129 int si_code; in do_page_fault() local
135 si_code = SEGV_MAPERR; in do_page_fault()
189 si_code = SEGV_ACCERR; in do_page_fault()
235 info.si_code = si_code; in do_page_fault()
306 info.si_code = BUS_ADRERR; in do_page_fault()
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dfault.c52 info.si_code = BUS_OBJERR; in spufs_handle_event()
57 info.si_code = SEGV_ACCERR; in spufs_handle_event()
63 info.si_code = BUS_ADRALN; in spufs_handle_event()
69 info.si_code = ILL_ILLOPC; in spufs_handle_event()
/linux-3.4.99/arch/s390/kernel/
Dtraps.c297 int si_signo, int si_code, char *str) in do_trap() argument
308 info.si_code = si_code; in do_trap()
338 info.si_code = TRAP_HWBKPT; in do_per_trap()
388 int si_code = 0; in do_fp_trap() local
393 si_code = FPE_FLTINV; in do_fp_trap()
395 si_code = FPE_FLTDIV; in do_fp_trap()
397 si_code = FPE_FLTOVF; in do_fp_trap()
399 si_code = FPE_FLTUND; in do_fp_trap()
401 si_code = FPE_FLTRES; in do_fp_trap()
403 do_trap(regs, SIGFPE, si_code, "floating point exception"); in do_fp_trap()
[all …]
/linux-3.4.99/arch/x86/kernel/
Dtraps.c197 info.si_code = sicode; \
385 int si_code; in do_debug() local
448 si_code = get_si_code(tsk->thread.debugreg6); in do_debug()
450 send_sigtrap(tsk, regs, error_code, si_code); in do_debug()
526 info.si_code = FPE_FLTINV; in math_error()
528 info.si_code = FPE_FLTDIV; in math_error()
530 info.si_code = FPE_FLTOVF; in math_error()
532 info.si_code = FPE_FLTUND; in math_error()
534 info.si_code = FPE_FLTRES; in math_error()
650 info.si_code = ILL_BADSTK; in do_iret_error()
/linux-3.4.99/arch/m68k/kernel/
Dtraps.c1068 info.si_code = BUS_ADRALN; in trap_c()
1074 info.si_code = ILL_ILLOPC; in trap_c()
1078 info.si_code = ILL_PRVOPC; in trap_c()
1082 info.si_code = ILL_COPROC; in trap_c()
1099 info.si_code = ILL_ILLTRP; in trap_c()
1105 info.si_code = FPE_FLTINV; in trap_c()
1109 info.si_code = FPE_FLTRES; in trap_c()
1113 info.si_code = FPE_FLTDIV; in trap_c()
1117 info.si_code = FPE_FLTUND; in trap_c()
1121 info.si_code = FPE_FLTOVF; in trap_c()
[all …]
/linux-3.4.99/arch/xtensa/mm/
Dfault.c48 info.si_code = SEGV_MAPERR; in do_page_fault()
91 info.si_code = SEGV_ACCERR; in do_page_fault()
160 info.si_code = SIGBUS; in do_page_fault()
162 info.si_code = BUS_ADRERR; in do_page_fault()
/linux-3.4.99/arch/sparc/mm/
Dfault_64.c162 info.si_code = code; in do_fault_siginfo()
195 static void __kprobes do_kernel_fault(struct pt_regs *regs, int si_code, in do_kernel_fault() argument
243 do_fault_siginfo(si_code, SIGSEGV, regs, insn, fault_code); in do_kernel_fault()
280 int si_code, fault_code, fault; in do_sparc64_fault() local
289 si_code = SEGV_MAPERR; in do_sparc64_fault()
400 si_code = SEGV_ACCERR; in do_sparc64_fault()
490 do_kernel_fault(regs, si_code, fault_code, insn, address); in do_sparc64_fault()
/linux-3.4.99/arch/tile/mm/
Dfault.c46 int si_code, unsigned long address, in force_sig_info_fault() argument
55 si_signo, si_code & 0xffff, address, in force_sig_info_fault()
61 info.si_code = si_code; in force_sig_info_fault()
273 int si_code; in handle_page_fault() local
314 si_code = SEGV_MAPERR; in handle_page_fault()
410 si_code = SEGV_ACCERR; in handle_page_fault()
488 force_sig_info_fault("segfault", SIGSEGV, si_code, address, in handle_page_fault()
/linux-3.4.99/include/asm-generic/
Dsiginfo.h51 int si_code; member
163 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
164 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
297 if (from->si_code < 0) in copy_siginfo()
/linux-3.4.99/arch/tile/kernel/
Dcompat_signal.c63 int si_code; member
194 err |= __put_user((short)from->si_code, &to->si_code); in copy_siginfo_to_user32()
196 if (from->si_code < 0) { in copy_siginfo_to_user32()
207 switch (from->si_code >> 16) { in copy_siginfo_to_user32()
248 err |= __get_user(to->si_code, &from->si_code); in copy_siginfo_from_user32()
/linux-3.4.99/arch/s390/mm/
Dfault.c148 static noinline void do_sigsegv(struct pt_regs *regs, int si_code) in do_sigsegv() argument
154 si.si_code = si_code; in do_sigsegv()
211 si.si_code = BUS_ADRERR; in do_sigbus()
218 int si_code; in do_fault_error() local
226 si_code = (fault == VM_FAULT_BADMAP) ? in do_fault_error()
228 do_sigsegv(regs, si_code); in do_fault_error()
/linux-3.4.99/arch/parisc/kernel/
Dtraps.c313 si.si_code = wot; in handle_gdb_break()
586 si.si_code = ILL_ILLOPC; in handle_interruption()
597 si.si_code = ILL_PRVOPC; in handle_interruption()
620 si.si_code = ILL_PRVREG; in handle_interruption()
631 si.si_code = FPE_INTOVF; in handle_interruption()
644 si.si_code = 0; in handle_interruption()
754 si.si_code = SEGV_MAPERR; in handle_interruption()
778 si.si_code = BUS_OBJERR; in handle_interruption()
804 si.si_code = SEGV_MAPERR; in handle_interruption()
Dsignal32.c414 err |= __get_user(to->si_code, &from->si_code); in copy_siginfo_from_user32()
416 if (to->si_code < 0) in copy_siginfo_from_user32()
419 switch (to->si_code >> 16) { in copy_siginfo_from_user32()
466 err |= __put_user((short)from->si_code, &to->si_code); in copy_siginfo_to_user32()
467 if (from->si_code < 0) in copy_siginfo_to_user32()
470 switch (from->si_code >> 16) { in copy_siginfo_to_user32()
515 if (info.si_code >= 0) in compat_sys_rt_sigqueueinfo()
/linux-3.4.99/arch/mips/include/asm/
Dsiginfo.h39 int si_code; member
122 if (from->si_code < 0) in copy_siginfo()

12345