Home
last modified time | relevance | path

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

123

/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_021.cpp36 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()
Dsignal_test_024.cpp34 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()
Dsignal_test_023.cpp34 static void SigPrint(int signum) in SigPrint() argument
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c52 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/
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
Dtm-signal-context-chk-gpr.c49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/
Dfcntl.c404 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/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
Dresctrl.h85 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/
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
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
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
Dsys_test_030.cpp38 static void sig_alarm(int signum) in sig_alarm() argument
/kernel/linux/linux-5.10/tools/perf/tests/
Dbp_signal.c69 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/
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()
/kernel/linux/linux-5.10/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()
62 } else if (signum == SIGBUS) { in mte_default_handler()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_012.cpp34 void SigAlarm(int signum) in SigAlarm() argument
Dpipe_test_005.cpp35 static void SigPrint(int signum) in SigPrint() argument
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
/kernel/linux/linux-5.10/arch/s390/kernel/
Druntime_instr.c70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() argument

123