Home
last modified time | relevance | path

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

/linux-6.6.21/arch/um/os-Linux/
Dsignal.c75 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() function
164 [SIGSEGV] = sig_handler,
165 [SIGBUS] = sig_handler,
166 [SIGILL] = sig_handler,
167 [SIGFPE] = sig_handler,
168 [SIGTRAP] = sig_handler,
170 [SIGIO] = sig_handler,
171 [SIGWINCH] = sig_handler,
/linux-6.6.21/tools/testing/selftests/timers/
Dposix_timers.c53 static void sig_handler(int nr) in sig_handler() function
99 signal(SIGVTALRM, sig_handler); in check_itimer()
101 signal(SIGPROF, sig_handler); in check_itimer()
103 signal(SIGALRM, sig_handler); in check_itimer()
161 signal(SIGALRM, sig_handler); in check_timer_create()
/linux-6.6.21/tools/perf/tests/
Dbp_signal.c81 static void sig_handler(int signum __maybe_unused, in sig_handler() function
176 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal()
242 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()
Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler() function
76 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.6.21/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() function
96 .sa_handler = sig_handler,
/linux-6.6.21/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.6.21/tools/testing/selftests/mm/
Dwrite_to_hugetlbfs.c46 void sig_handler(int signo) in sig_handler() function
77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
/linux-6.6.21/tools/perf/
Dbuiltin-ftrace.c42 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1200 signal(SIGINT, sig_handler); in cmd_ftrace()
1201 signal(SIGUSR1, sig_handler); in cmd_ftrace()
1202 signal(SIGCHLD, sig_handler); in cmd_ftrace()
1203 signal(SIGPIPE, sig_handler); in cmd_ftrace()
Dbuiltin-daemon.c110 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1319 signal(SIGINT, sig_handler); in __cmd_start()
1320 signal(SIGTERM, sig_handler); in __cmd_start()
Dbuiltin-kwork.c1468 static void sig_handler(int sig) in sig_handler() function
1481 signal(SIGINT, sig_handler); in perf_kwork__report_bpf()
1482 signal(SIGTERM, sig_handler); in perf_kwork__report_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.c466 static void sig_handler(int sig __maybe_unused) in sig_handler() function
962 signal(SIGINT, sig_handler); in __cmd_report()
Dbuiltin-record.c650 static void sig_handler(int sig) in sig_handler() function
2347 signal(SIGCHLD, sig_handler); in __cmd_record()
2348 signal(SIGINT, sig_handler); in __cmd_record()
2349 signal(SIGTERM, sig_handler); in __cmd_record()
Dbuiltin-inject.c1699 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1981 signal(SIGINT, sig_handler); in __cmd_inject()
Dbuiltin-script.c2716 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2799 signal(SIGINT, sig_handler); in __cmd_script()
/linux-6.6.21/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.6.21/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.6.21/scripts/kconfig/
Dmconf.c1006 static void sig_handler(int signo) in sig_handler() function
1016 signal(SIGINT, sig_handler); in main()
/linux-6.6.21/kernel/
Dsignal.c69 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler() function
85 handler = sig_handler(t, sig); in sig_task_ignored()
1318 enum sig_handler { enum
1337 enum sig_handler handler) in force_sig_info_to_task()
4175 if (sig_handler_ignored(sig_handler(p, sig), sig)) { in do_sigaction()