/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_021.cpp | 36 static void SigPrint(int signum) in SigPrint() argument 38 (void)signum; in SigPrint() 39 printf("Catch signal %d\n", signum); in SigPrint() 42 static void SigQuit(int signum) in SigQuit() argument 44 (void)signum; in SigQuit()
|
D | signal_test_024.cpp | 34 static void OldAction(int signum) in OldAction() argument 36 (void)signum; in OldAction() 40 static void NewAction(int signum) in NewAction() argument 42 (void)signum; in NewAction()
|
D | signal_test_023.cpp | 34 static void SigPrint(int signum) in SigPrint() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/ |
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()
|
/kernel/linux/linux-5.10/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-fpu.c | 47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
D | tm-signal-context-chk-gpr.c | 49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/ |
D | fcntl.c | 404 err = filp->f_owner.signum; in do_fcntl() 412 filp->f_owner.signum = arg; in do_fcntl() 740 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() local 742 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 745 switch (signum) { in send_sigio_to_task() 756 si.si_signo = signum; in send_sigio_to_task() 767 if ((signum != SIGPOLL) && sig_specific_sicodes(signum)) in send_sigio_to_task() 779 if (!do_send_sig_info(signum, &si, p, type)) in send_sigio_to_task() 1019 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
D | resctrl.h | 85 void run_benchmark(int signum, siginfo_t *info, void *ucontext); 102 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
|
/kernel/linux/linux-5.10/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 | 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
|
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/ |
D | sys_test_030.cpp | 38 static void sig_alarm(int signum) in sig_alarm() argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 62 } else if (signum == SIGBUS) { in mte_default_handler()
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | signal_test_012.cpp | 34 void SigAlarm(int signum) in SigAlarm() argument
|
D | pipe_test_005.cpp | 35 static void SigPrint(int signum) in SigPrint() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal_sched_switch.c | 12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | runtime_instr.c | 70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
D | harness.c | 90 static void sig_handler(int signum) in sig_handler() argument
|