Searched refs:previous_sigio (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_skip.c | 39 sighandler_t previous_sigio = SIG_ERR; in serial_test_perf_skip() local 53 previous_sigio = signal(SIGIO, handle_sigio); in serial_test_perf_skip() 54 if (!ASSERT_NEQ(previous_sigio, SIG_ERR, "signal")) in serial_test_perf_skip() 134 if (previous_sigio != SIG_ERR) in serial_test_perf_skip() 135 signal(SIGIO, previous_sigio); in serial_test_perf_skip()
|
/linux/tools/testing/selftests/perf_events/ |
H A D | watermark_signal.c | 47 struct sigaction previous_sigio, sigio = { 0 }; in TEST() local 54 EXPECT_EQ(sigaction(SIGIO, &sigio, &previous_sigio), 0); in TEST() 143 sigaction(SIGIO, &previous_sigio, NULL); in TEST()
|