/external/strace/ |
D | printsiginfo.c | 68 # define SI_FROMUSER(sip) ((sip)->si_code <= 0) 88 print_si_code(int si_signo, unsigned int si_code) in print_si_code() argument 90 const char *code = xlookup(siginfo_codes, si_code); in print_si_code() 95 code = xlookup(sigtrap_codes, si_code); in print_si_code() 98 code = xlookup(sigchld_codes, si_code); in print_si_code() 101 code = xlookup(sigpoll_codes, si_code); in print_si_code() 104 code = xlookup(sigprof_codes, si_code); in print_si_code() 107 code = xlookup(sigill_codes, si_code); in print_si_code() 111 code = xlookup(sigemt_codes, si_code); in print_si_code() 115 code = xlookup(sigfpe_codes, si_code); in print_si_code() [all …]
|
/external/v8/src/base/debug/ |
D | stack_trace_posix.cc | 200 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler() 202 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler() 204 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler() 209 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler() 211 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler() 213 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler() 215 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler() 217 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler() 219 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler() 221 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler() [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
D | segv_errors.c | 23 static int si_code; variable 31 si_code = info->si_code; in segv_handler() 49 si_code = 0; in test_segv_errors() 60 FAIL_IF(si_code != SEGV_ACCERR); in test_segv_errors() 63 si_code = 0; in test_segv_errors() 70 FAIL_IF(si_code != SEGV_ACCERR); in test_segv_errors()
|
/external/v8/src/trap-handler/ |
D | handler-inside-linux.cc | 38 return info->si_code > 0 && info->si_code != SI_USER && in IsKernelGeneratedSignal() 39 info->si_code != SI_QUEUE && info->si_code != SI_TIMER && in IsKernelGeneratedSignal() 40 info->si_code != SI_ASYNCIO && info->si_code != SI_MESGQ; in IsKernelGeneratedSignal()
|
/external/libchrome/base/debug/ |
D | stack_trace_posix.cc | 264 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler() 266 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler() 268 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler() 273 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler() 275 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler() 277 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler() 279 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler() 281 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler() 283 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler() 285 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 110 int si_code; in check_direct_path() local 114 si_code = TEST_SICODE_SHARE; in check_direct_path() 117 si_code = TEST_SICODE_PRIV; in check_direct_path() 132 if (siginfo[j].si_code == si_code && in check_direct_path() 137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 179 siginfo->si_code = TEST_SICODE_SHARE; in main() 183 siginfo->si_code = TEST_SICODE_PRIV; in main()
|
/external/e2fsprogs/e2fsck/ |
D | sigcatcher.c | 341 if (siginfo->si_code == SI_USER) in die_signal_handler() 343 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler() 348 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 352 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 356 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 360 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 364 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 367 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler() 368 if ((siginfo->si_code != SI_USER) && in die_signal_handler()
|
/external/strace/tests/ |
D | ptrace.c | 276 sip->si_code = 1; in main() 287 sip->si_code = 1; in main() 302 sip->si_code = 1; in main() 313 sip->si_code = 1; in main() 324 sip->si_code = 1; in main() 336 sip->si_code = 0xbadc0ded; in main() 345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 351 sip->si_code = 1; in main() 382 sip->si_code = SI_TIMER; in main()
|
/external/strace/tests-m32/ |
D | ptrace.c | 276 sip->si_code = 1; in main() 287 sip->si_code = 1; in main() 302 sip->si_code = 1; in main() 313 sip->si_code = 1; in main() 324 sip->si_code = 1; in main() 336 sip->si_code = 0xbadc0ded; in main() 345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 351 sip->si_code = 1; in main() 382 sip->si_code = SI_TIMER; in main()
|
/external/strace/tests-mx32/ |
D | ptrace.c | 276 sip->si_code = 1; in main() 287 sip->si_code = 1; in main() 302 sip->si_code = 1; in main() 313 sip->si_code = 1; in main() 324 sip->si_code = 1; in main() 336 sip->si_code = 0xbadc0ded; in main() 345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 351 sip->si_code = 1; in main() 382 sip->si_code = SI_TIMER; in main()
|
/external/elfutils/tests/ |
D | run-readelf-mixed-corenote.sh | 28 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 94 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4 159 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4 231 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 253 si_signo: 11, si_errno: 0, si_code: 1 298 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 325 si_signo: 11, si_errno: 0, si_code: 1 438 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 454 si_signo: 11, si_errno: 0, si_code: 1 504 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 [all …]
|
D | run-readelf-vmcoreinfo.sh | 27 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0 45 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | siginfo.h | 116 int si_code; \ 123 int si_code; \ 179 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0) 180 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
|
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns13.c | 132 if (info.si_fd == pipe_fd[0] && info.si_code == POLL_IN) in child_fn() 134 info.si_fd, info.si_code); in child_fn() 137 info.si_fd, info.si_code); in child_fn()
|
D | pidns30.c | 133 if (si->si_code != SI_MESGQ) { in child_signal_handler() 135 si->si_code); in child_signal_handler()
|
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/ |
D | rt_tgsigqueueinfo01.c | 53 uinfo.si_code = SI_QUEUE; in send_rcv_func() 115 uinfo.si_code = SI_QUEUE; in verify_signal_parent_thread() 132 uinfo.si_code = SI_QUEUE; in sender_func()
|
/external/libbrillo/brillo/ |
D | process_reaper_unittest.cc | 79 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F() 97 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F() 115 EXPECT_EQ(CLD_KILLED, info.si_code); in TEST_F()
|
D | process_reaper.cc | 75 << " (code = " << info.si_code << ")"; in HandleSIGCHLD() 79 << info.si_status << " (code = " << info.si_code << ")"; in HandleSIGCHLD()
|
/external/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid01.c | 50 tst_resm(TINFO, "code = %d", infop->si_code); in display_status() 51 if (infop->si_code == CLD_EXITED) in display_status()
|
/external/honggfuzz/netbsd/ |
D | trace.c | 118 #define SI_FROMUSER(siptr) ((siptr)->si_code == SI_USER) 349 pid, info.psi_siginfo.si_signo, info.psi_siginfo.si_errno, info.psi_siginfo.si_code, in arch_traceSaveData() 479 info.psi_siginfo.si_code, sig_addr, instr, run->global->io.fileExtn); in arch_traceSaveData() 486 info.psi_siginfo.si_code, sig_addr, instr, localtmstr, pid, run->global->io.fileExtn); in arch_traceSaveData() 529 switch (info.psi_siginfo.si_code) { in arch_traceEvent() 590 LOG_D("PID: %d other trap si_code=%d", pid, info.psi_siginfo.si_code); in arch_traceEvent()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 245 static char *si_code_str(int si_code) in si_code_str() argument 247 if (si_code == SEGV_MAPERR) in si_code_str() 249 if (si_code == SEGV_ACCERR) in si_code_str() 251 if (si_code == SEGV_BNDERR) in si_code_str() 253 if (si_code == SEGV_PKUERR) in si_code_str() 283 trapno, ip, si_code_str(si->si_code), si->si_code); in signal_handler() 306 if ((si->si_code == SEGV_MAPERR) || in signal_handler() 307 (si->si_code == SEGV_ACCERR) || in signal_handler() 308 (si->si_code == SEGV_BNDERR)) { in signal_handler()
|
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 188 && si.si_code == SI_USER in test_unmasked_matching() 232 && si.si_code == SI_USER in test_masked_matching() 278 && si.si_code == SI_USER in test_masked_matching_rt() 285 && si.si_code == SI_USER in test_masked_matching_rt()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-syscall.c | 49 if (si.si_code != CLD_TRAPPED) in wait_trap() 50 errx(1, "got unexpected event type %d\n", si.si_code); in wait_trap()
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 188 if (siginfo.si_code != TRAP_HWBKPT) { in run_test() 190 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify01.c | 101 cmp_ok = si->si_code == SI_MESGQ && in sigfunc() 183 info.si_code, SI_MESGQ); in do_test()
|