Home
last modified time | relevance | path

Searched refs:signum (Results 1 – 25 of 40) sorted by relevance

12

/tools/testing/selftests/powerpc/tm/
Dtm-signal-msr-resv.c26 void signal_segv(int signum) in signal_segv() argument
28 if (segv_expected && (signum == SIGSEGV)) in signal_segv()
33 void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
Dtm-signal-stack.c27 void signal_segv(int signum) in signal_segv() argument
Dtm-signal-context-chk-gpr.c49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
Dtm-signal-context-chk-fpu.c47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
Dtm-signal-context-chk-vmx.c56 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
Dtm-signal-context-chk-vsx.c57 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c52 static void unblock_signal(int signum) in unblock_signal() argument
57 sigaddset(&sset, signum); in unblock_signal()
177 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler() argument
179 if (current->sig_unsupp && signum == current->sig_unsupp && in default_handler()
182 } else if (current->sig_trig && signum == current->sig_trig && in default_handler()
185 } else if (current->sig_ok && signum == current->sig_ok && in default_handler()
188 } else if (signum == sig_copyctx && current->live_uc && in default_handler()
192 if (signum == SIGALRM && current->timeout) { in default_handler()
196 "-- RX UNEXPECTED SIGNAL: %d\n", signum); in default_handler()
/tools/testing/selftests/timers/
Dalarmtimer-suspend.c125 int signum = SIGRTMAX; in main() local
131 sigaction(signum, &act, NULL); in main()
136 se.sigev_signo = signum; in main()
Dleap-a-day.c181 int signum = SIGRTMAX; in main() local
228 sigaction(signum, &act, NULL); in main()
294 se.sigev_signo = signum; in main()
Dset-timer-lat.c255 int signum = SIGRTMAX; in main() local
262 sigaction(signum, &act, NULL); in main()
/tools/testing/selftests/resctrl/
Dresctrl.h94 void run_benchmark(int signum, siginfo_t *info, void *ucontext);
111 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
/tools/testing/selftests/powerpc/mm/
Dwild_bctr.c33 static void segv_handler(int signum, siginfo_t *info, void *ctxt_v) in segv_handler() argument
39 static void usr2_handler(int signum, siginfo_t *info, void *ctxt_v) in usr2_handler() argument
Dpkey_exec_prot.c30 static void trap_handler(int signum, siginfo_t *sinfo, void *ctx) in trap_handler() argument
39 static void segv_handler(int signum, siginfo_t *sinfo, void *ctx) in segv_handler() argument
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c155 void sig_action_SIGUSR1(int signum, siginfo_t *info, void *context);
156 void sig_action(int signum, siginfo_t *info, void *context);
213 void sig_action_SIGUSR1(int signum, siginfo_t *info, void *context) in sig_action_SIGUSR1() argument
219 "exiting\n", signum); in sig_action_SIGUSR1()
226 void sig_action(int signum, siginfo_t *info, void *context) in sig_action() argument
229 pthread_kill(main_thread, signum); in sig_action()
231 fprintf(stderr, "Caught signal %d, exiting\n", signum); in sig_action()
/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
/tools/perf/tests/
Dbp_signal.c69 static void sig_handler_2(int signum __maybe_unused, in sig_handler_2()
81 static void sig_handler(int signum __maybe_unused, in sig_handler()
Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler()
/tools/testing/selftests/arm64/pauth/
Dpac.c189 void pac_signal_handler(int signum, siginfo_t *si, void *uc) in pac_signal_handler() argument
191 if (signum == SIGSEGV || signum == SIGILL) in pac_signal_handler()
/tools/testing/selftests/arm64/mte/
Dmte_common_util.c28 void mte_default_handler(int signum, siginfo_t *si, void *uc) in mte_default_handler() argument
32 if (signum == SIGSEGV) { in mte_default_handler()
62 } else if (signum == SIGBUS) { in mte_default_handler()
Dmte_common_util.h42 void mte_default_handler(int signum, siginfo_t *si, void *uc);
/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() argument
/tools/laptop/freefall/
Dfreefall.c100 static void ignore_me(int signum) in ignore_me() argument
/tools/bpf/bpftool/
Dtracelog.c112 static void exit_tracelog(int signum) in exit_tracelog() argument
/tools/testing/selftests/net/
Dudpgso_bench_rx.c55 static void sigint_handler(int signum) in sigint_handler() argument
57 if (signum == SIGINT) in sigint_handler()
/tools/iio/
Diio_generic_buffer.c311 static void sig_handler(int signum) in sig_handler() argument
313 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler()
315 exit(-signum); in sig_handler()

12