Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c57 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.12.1/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-fpu.c47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
/linux-6.12.1/tools/testing/selftests/livepatch/
Dtest_klp-call_getpid.c17 void hup_handler(int signum) in hup_handler() argument
22 void int_handler(int signum) in int_handler() argument
/linux-6.12.1/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()
/linux-6.12.1/fs/
Dfcntl.c417 static int f_owner_sig(struct file *filp, int signum, bool setsig) in f_owner_sig() argument
425 if (!valid_signal(signum)) in f_owner_sig()
435 f_owner->signum = signum; in f_owner_sig()
437 ret = f_owner->signum; in f_owner_sig()
855 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() local
857 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
860 switch (signum) { in send_sigio_to_task()
871 si.si_signo = signum; in send_sigio_to_task()
882 if ((signum != SIGPOLL) && sig_specific_sicodes(signum)) in send_sigio_to_task()
894 if (!do_send_sig_info(signum, &si, p, type)) in send_sigio_to_task()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/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
Dexec_prot.c45 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
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
/linux-6.12.1/tools/testing/selftests/x86/
Dtest_shadow_stack.c210 void segv_handler(int signum, siginfo_t *si, void *uc) in segv_handler() argument
256 void test_access_fix_handler(int signum, siginfo_t *si, void *uc) in test_access_fix_handler() argument
665 int sigaction32(int signum, const struct sigaction *restrict act, in sigaction32() argument
669 register long signum_reg asm("ebx") = signum; in sigaction32()
686 void segv_gp_handler(int signum, siginfo_t *si, void *uc) in segv_gp_handler() argument
876 void segv_handler_ptrace(int signum, siginfo_t *si, void *uc) in segv_handler_ptrace() argument
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/
Dhashchk_test.c39 static void hashchk_handler(int signum, siginfo_t *info, void *context) in hashchk_handler() argument
41 if (signum != SIGILL) in hashchk_handler()
/linux-6.12.1/tools/testing/selftests/arm64/abi/
Dhwcap.c911 static int install_sigaction(int signum, sighandler_fn handler) in install_sigaction() argument
920 ret = sigaction(signum, &sa, NULL); in install_sigaction()
928 static void uninstall_sigaction(int signum) in uninstall_sigaction() argument
930 if (sigaction(signum, NULL, NULL) < 0) in uninstall_sigaction()
/linux-6.12.1/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()
/linux-6.12.1/tools/perf/tests/
Dbp_signal.c70 static void sig_handler_2(int signum __maybe_unused, in sig_handler_2()
82 static void sig_handler(int signum __maybe_unused, in sig_handler()
/linux-6.12.1/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()
66 } else if (signum == SIGBUS) { in mte_default_handler()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmmcr2_fcs_fch_test.c19 static void sig_usr2_handler(int signum, siginfo_t *info, void *data) in sig_usr2_handler() argument
/linux-6.12.1/arch/s390/kernel/
Druntime_instr.c70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
/linux-6.12.1/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() argument
/linux-6.12.1/tools/testing/selftests/thermal/intel/power_floor/
Dpower_floor_test.c16 void power_floor_exit(int signum) in power_floor_exit() argument
/linux-6.12.1/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()

123