/linux/tools/testing/selftests/arm64/signal/ |
A D | test_signals_utils.c | 52 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()
|
/linux/tools/testing/selftests/powerpc/tm/ |
A D | tm-signal-msr-resv.c | 26 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
|
A D | tm-signal-stack.c | 27 void signal_segv(int signum) in signal_segv() argument
|
A D | tm-signal-context-chk-fpu.c | 47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
A D | tm-signal-context-chk-gpr.c | 49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
A D | tm-signal-context-chk-vmx.c | 56 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
/linux/tools/testing/selftests/timers/ |
A D | alarmtimer-suspend.c | 125 int signum = SIGRTMAX; in main() local 131 sigaction(signum, &act, NULL); in main() 136 se.sigev_signo = signum; in main()
|
A D | leap-a-day.c | 181 int signum = SIGRTMAX; in main() local 228 sigaction(signum, &act, NULL); in main() 294 se.sigev_signo = signum; in main()
|
A D | set-timer-lat.c | 255 int signum = SIGRTMAX; in main() local 262 sigaction(signum, &act, NULL); in main()
|
/linux/fs/ |
A D | fcntl.c | 405 err = filp->f_owner.signum; in do_fcntl() 413 filp->f_owner.signum = arg; in do_fcntl() 741 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() local 743 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 746 switch (signum) { in send_sigio_to_task() 757 si.si_signo = signum; in send_sigio_to_task() 768 if ((signum != SIGPOLL) && sig_specific_sicodes(signum)) in send_sigio_to_task() 780 if (!do_send_sig_info(signum, &si, p, type)) in send_sigio_to_task() 1020 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
|
/linux/tools/testing/selftests/mqueue/ |
A D | mq_perf_tests.c | 155 void sig_action_SIGUSR1(int signum, siginfo_t *info, void *context); 156 void sig_action(int signum, siginfo_t *info, void *context); 210 void sig_action_SIGUSR1(int signum, siginfo_t *info, void *context) in sig_action_SIGUSR1() argument 216 "exiting\n", signum); in sig_action_SIGUSR1() 223 void sig_action(int signum, siginfo_t *info, void *context) in sig_action() argument 226 pthread_kill(main_thread, signum); in sig_action() 228 fprintf(stderr, "Caught signal %d, exiting\n", signum); in sig_action()
|
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl.h | 89 void run_benchmark(int signum, siginfo_t *info, void *ucontext); 106 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | wild_bctr.c | 33 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
|
A D | pkey_exec_prot.c | 30 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
|
/linux/tools/testing/selftests/arm64/pauth/ |
A D | pac.c | 189 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()
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | mte_common_util.c | 28 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()
|
/linux/tools/perf/tests/ |
A D | bp_signal.c | 69 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()
|
A D | bp_signal_overflow.c | 38 static void sig_handler(int signum __maybe_unused, in sig_handler()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | send_signal_sched_switch.c | 12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
|
/linux/arch/s390/kernel/ |
A D | runtime_instr.c | 70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
|
A D | entry.h | 52 long sys_s390_runtime_instr(int command, int signum);
|
/linux/tools/testing/selftests/net/ |
A D | udpgso_bench_rx.c | 55 static void sigint_handler(int signum) in sigint_handler() argument 57 if (signum == SIGINT) in sigint_handler()
|
/linux/tools/iio/ |
A D | iio_generic_buffer.c | 300 static void sig_handler(int signum) in sig_handler() argument 302 fprintf(stderr, "Caught signal %d\n", signum); in sig_handler() 304 exit(-signum); in sig_handler()
|
/linux/tools/testing/selftests/powerpc/ |
A D | harness.c | 90 static void sig_handler(int signum) in sig_handler() argument
|
/linux/tools/laptop/freefall/ |
A D | freefall.c | 100 static void ignore_me(int signum) in ignore_me() argument
|