/linux-6.6.21/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 57 static void unblock_signal(int signum) in unblock_signal() argument 62 sigaddset(&sset, signum); in unblock_signal() 233 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler() argument 235 if (current->sig_unsupp && signum == current->sig_unsupp && in default_handler() 238 } else if (current->sig_trig && signum == current->sig_trig && in default_handler() 241 } else if (current->sig_ok && signum == current->sig_ok && in default_handler() 244 } else if (signum == sig_copyctx && current->live_uc && in default_handler() 248 if (signum == SIGALRM && current->timeout) { in default_handler() 253 signum, si->si_code, si->si_addr); in default_handler()
|
/linux-6.6.21/tools/testing/selftests/powerpc/tm/ |
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
|
D | tm-signal-stack.c | 27 void signal_segv(int signum) in signal_segv() argument
|
D | tm-signal-context-chk-gpr.c | 49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
D | tm-signal-context-chk-fpu.c | 47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
/linux-6.6.21/tools/testing/selftests/timers/ |
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()
|
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()
|
D | set-timer-lat.c | 255 int signum = SIGRTMAX; in main() local 262 sigaction(signum, &act, NULL); in main()
|
/linux-6.6.21/fs/ |
D | fcntl.c | 391 err = filp->f_owner.signum; in do_fcntl() 399 filp->f_owner.signum = argi; in do_fcntl() 725 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() local 727 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 730 switch (signum) { in send_sigio_to_task() 741 si.si_signo = signum; in send_sigio_to_task() 752 if ((signum != SIGPOLL) && sig_specific_sicodes(signum)) in send_sigio_to_task() 764 if (!do_send_sig_info(signum, &si, p, type)) in send_sigio_to_task() 1004 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | test_shadow_stack.c | 209 void segv_handler(int signum, siginfo_t *si, void *uc) in segv_handler() argument 255 void test_access_fix_handler(int signum, siginfo_t *si, void *uc) in test_access_fix_handler() argument 611 int sigaction32(int signum, const struct sigaction *restrict act, in sigaction32() argument 615 register long signum_reg asm("ebx") = signum; in sigaction32() 632 void segv_gp_handler(int signum, siginfo_t *si, void *uc) in segv_gp_handler() argument 684 void segv_handler_ptrace(int signum, siginfo_t *si, void *uc) in segv_handler_ptrace() argument
|
/linux-6.6.21/tools/testing/selftests/mqueue/ |
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); 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()
|
/linux-6.6.21/tools/testing/selftests/resctrl/ |
D | resctrl.h | 89 void run_benchmark(int signum, siginfo_t *info, void *ucontext); 105 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
|
/linux-6.6.21/tools/testing/selftests/arm64/abi/ |
D | hwcap.c | 626 static int install_sigaction(int signum, sighandler_fn handler) in install_sigaction() argument 635 ret = sigaction(signum, &sa, NULL); in install_sigaction() 643 static void uninstall_sigaction(int signum) in uninstall_sigaction() argument 645 if (sigaction(signum, NULL, NULL) < 0) in uninstall_sigaction()
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
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
|
D | exec_prot.c | 45 static void trap_handler(int signum, siginfo_t *sinfo, void *ctx) in trap_handler() argument 54 static void segv_handler(int signum, siginfo_t *sinfo, void *ctx) in segv_handler() argument
|
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-6.6.21/tools/testing/selftests/powerpc/dexcr/ |
D | hashchk_test.c | 33 static void hashchk_handler(int signum, siginfo_t *info, void *context) in hashchk_handler() argument 35 if (signum != SIGILL) in hashchk_handler()
|
D | dexcr.c | 15 static void generic_signal_handler(int signum, siginfo_t *info, void *context) in generic_signal_handler() argument
|
/linux-6.6.21/tools/testing/selftests/arm64/pauth/ |
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-6.6.21/tools/perf/tests/ |
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()
|
/linux-6.6.21/tools/testing/selftests/arm64/mte/ |
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() 66 } else if (signum == SIGBUS) { in mte_default_handler()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal_sched_switch.c | 12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
|
/linux-6.6.21/arch/s390/kernel/ |
D | runtime_instr.c | 70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
|
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
D | mmcr2_fcs_fch_test.c | 19 static void sig_usr2_handler(int signum, siginfo_t *info, void *data) in sig_usr2_handler() argument
|
/linux-6.6.21/tools/testing/selftests/powerpc/ |
D | harness.c | 90 static void sig_handler(int signum) in sig_handler() argument
|