Home
last modified time | relevance | path

Searched refs:sig_handler (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/arch/um/os-Linux/
Dsignal.c74 static void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() function
176 [SIGSEGV] = sig_handler,
177 [SIGBUS] = sig_handler,
178 [SIGILL] = sig_handler,
179 [SIGFPE] = sig_handler,
180 [SIGTRAP] = sig_handler,
182 [SIGIO] = sig_handler,
183 [SIGWINCH] = sig_handler,
/linux-6.12.1/tools/perf/tests/
Dbp_signal.c82 static void sig_handler(int signum __maybe_unused, in sig_handler() function
177 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal()
243 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()
Dbp_signal_overflow.c39 static void sig_handler(int signum __maybe_unused, in sig_handler() function
77 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
Dtask-exit.c20 static void sig_handler(int sig __maybe_unused) in sig_handler() function
59 signal(SIGCHLD, sig_handler); in test__task_exit()
/linux-6.12.1/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() function
96 .sa_handler = sig_handler,
/linux-6.12.1/tools/testing/selftests/mm/
Dwrite_to_hugetlbfs.c46 void sig_handler(int signo) in sig_handler() function
79 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
/linux-6.12.1/tools/testing/selftests/net/
Dfin_ack_lat.c104 static void sig_handler(int signum) in sig_handler() function
118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
/linux-6.12.1/tools/perf/bench/
Dsched-messaging.c266 static void sig_handler(int sig __maybe_unused) in sig_handler() function
312 signal(SIGINT, sig_handler); in bench_sched_messaging()
313 signal(SIGTERM, sig_handler); in bench_sched_messaging()
/linux-6.12.1/tools/testing/selftests/timers/
Dposix_timers.c75 static void sig_handler(int nr) in sig_handler() function
109 signal(SIGVTALRM, sig_handler); in check_itimer()
111 signal(SIGPROF, sig_handler); in check_itimer()
113 signal(SIGALRM, sig_handler); in check_itimer()
147 if (signal(SIGALRM, sig_handler) == SIG_ERR) in check_timer_create()
/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_features.c54 static void sig_handler(int sig) in sig_handler() function
663 signal(SIGINT, sig_handler); in main()
664 signal(SIGTERM, sig_handler); in main()
/linux-6.12.1/tools/perf/
Dbuiltin-ftrace.c46 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1596 signal(SIGINT, sig_handler); in cmd_ftrace()
1597 signal(SIGUSR1, sig_handler); in cmd_ftrace()
1598 signal(SIGCHLD, sig_handler); in cmd_ftrace()
1599 signal(SIGPIPE, sig_handler); in cmd_ftrace()
Dbuiltin-daemon.c111 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1320 signal(SIGINT, sig_handler); in __cmd_start()
1321 signal(SIGTERM, sig_handler); in __cmd_start()
Dbuiltin-kwork.c1863 static void sig_handler(int sig) in sig_handler() function
1876 signal(SIGINT, sig_handler); in perf_kwork__report_bpf()
1877 signal(SIGTERM, sig_handler); in perf_kwork__report_bpf()
2178 signal(SIGINT, sig_handler); in perf_kwork__top_bpf()
2179 signal(SIGTERM, sig_handler); in perf_kwork__top_bpf()
Dbuiltin-kvm.c1362 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1483 signal(SIGINT, sig_handler); in kvm_events_live_report()
1484 signal(SIGTERM, sig_handler); in kvm_events_live_report()
Dbuiltin-report.c468 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1048 signal(SIGINT, sig_handler); in __cmd_report()
Dbuiltin-record.c670 static void sig_handler(int sig) in sig_handler() function
2372 signal(SIGCHLD, sig_handler); in __cmd_record()
2373 signal(SIGINT, sig_handler); in __cmd_record()
2374 signal(SIGTERM, sig_handler); in __cmd_record()
Dbuiltin-inject.c1888 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2176 signal(SIGINT, sig_handler); in __cmd_inject()
Dbuiltin-script.c2827 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2910 signal(SIGINT, sig_handler); in __cmd_script()
/linux-6.12.1/scripts/kconfig/
Dmconf.c922 static void sig_handler(int signo) in sig_handler() function
932 signal(SIGINT, sig_handler); in main()
/linux-6.12.1/tools/iio/
Diio_generic_buffer.c311 static void sig_handler(int signum) in sig_handler() function
320 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()
/linux-6.12.1/kernel/
Dsignal.c70 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler() function
86 handler = sig_handler(t, sig); in sig_task_ignored()
1307 enum sig_handler { enum
1326 enum sig_handler handler) in force_sig_info_to_task()
4222 if (sig_handler_ignored(sig_handler(p, sig), sig)) { in do_sigaction()