Searched refs:signal_action (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/kernel/io/disktest/ |
D | signals.c | 40 int signal_action = SIGNAL_NONE; variable 80 signal_action |= SIGNAL_STOP; in sig_handler() 87 signal_action |= SIGNAL_STOP; in sig_handler() 94 signal_action |= SIGNAL_STOP; in sig_handler() 101 signal_action |= SIGNAL_STOP; in sig_handler() 108 signal_action |= SIGNAL_STAT; in sig_handler() 164 if (signal_action & SIGNAL_STAT) { in clear_stat_signal() 166 signal_action &= ~SIGNAL_STAT; in clear_stat_signal()
|
D | timer.c | 88 extern int signal_action; in ChildTimer() 174 || (signal_action & SIGNAL_STAT)) { in ChildTimer() 183 if (signal_action & SIGNAL_STOP) { in ChildTimer()
|
D | main.c | 294 extern int signal_action; in threadedMain() 396 if (signal_action & SIGNAL_STOP) { in threadedMain() 422 if (signal_action & SIGNAL_STOP) { in threadedMain() 429 if (signal_action & SIGNAL_STOP) { in threadedMain()
|
D | childmain.c | 609 extern int signal_action; in ChildMain() 693 if (signal_action & SIGNAL_STOP) { in ChildMain() 750 if (signal_action & SIGNAL_STOP) { in ChildMain()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/ |
D | copy_paste_unaligned_common.c | 47 struct sigaction signal_action; in setup_signal_handler() local 49 memset(&signal_action, 0, sizeof(signal_action)); in setup_signal_handler() 50 signal_action.sa_sigaction = signal_action_handler; in setup_signal_handler() 51 signal_action.sa_flags = SA_SIGINFO; in setup_signal_handler() 52 sigaction(SIGBUS, &signal_action, NULL); in setup_signal_handler()
|
D | copy_first_unaligned.c | 44 struct sigaction signal_action; in setup_signal_handler() local 46 memset(&signal_action, 0, sizeof(signal_action)); in setup_signal_handler() 47 signal_action.sa_sigaction = signal_action_handler; in setup_signal_handler() 48 signal_action.sa_flags = SA_SIGINFO; in setup_signal_handler() 49 sigaction(SIGBUS, &signal_action, NULL); in setup_signal_handler()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-death-test_test.cc | 390 struct sigaction signal_action; in SetSigprofActionAndTimer() local 391 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer() 392 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer() 393 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer() 394 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer() 395 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer() 405 struct sigaction signal_action; in DisableSigprofActionAndTimer() local 406 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer() 407 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer() 408 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer() [all …]
|
/external/googletest/googletest/test/ |
D | googletest-death-test-test.cc | 377 struct sigaction signal_action; in SetSigprofActionAndTimer() local 378 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer() 379 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer() 380 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer() 381 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer() 382 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, nullptr)); in SetSigprofActionAndTimer() 392 struct sigaction signal_action; in DisableSigprofActionAndTimer() local 393 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer() 394 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer() 395 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
D | 15-1-buildonly.c | 11 extern void signal_action(int, siginfo_t *, void *); 18 t.sa_sigaction = signal_action; in dummyfcn()
|