Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/arm64/signal/
A 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()
/linux/tools/testing/selftests/powerpc/tm/
A 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
A Dtm-signal-stack.c27 void signal_segv(int signum) in signal_segv() argument
A Dtm-signal-context-chk-fpu.c47 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
A Dtm-signal-context-chk-gpr.c49 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
A Dtm-signal-context-chk-vmx.c56 static void signal_usr1(int signum, siginfo_t *info, void *uc) in signal_usr1() argument
/linux/tools/testing/selftests/timers/
A Dalarmtimer-suspend.c125 int signum = SIGRTMAX; in main() local
131 sigaction(signum, &act, NULL); in main()
136 se.sigev_signo = signum; in main()
A Dleap-a-day.c181 int signum = SIGRTMAX; in main() local
228 sigaction(signum, &act, NULL); in main()
294 se.sigev_signo = signum; in main()
A Dset-timer-lat.c255 int signum = SIGRTMAX; in main() local
262 sigaction(signum, &act, NULL); in main()
/linux/fs/
A Dfcntl.c405 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 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);
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 Dresctrl.h89 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 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
A 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/tools/testing/selftests/arm64/pauth/
A 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/tools/testing/selftests/arm64/mte/
A 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()
/linux/tools/perf/tests/
A 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()
A Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal_sched_switch.c12 static void sigusr1_handler(int signum) in sigusr1_handler() argument
/linux/arch/s390/kernel/
A Druntime_instr.c70 SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) in SYSCALL_DEFINE2() argument
A Dentry.h52 long sys_s390_runtime_instr(int command, int signum);
/linux/tools/testing/selftests/net/
A Dudpgso_bench_rx.c55 static void sigint_handler(int signum) in sigint_handler() argument
57 if (signum == SIGINT) in sigint_handler()
/linux/tools/iio/
A Diio_generic_buffer.c300 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 Dharness.c90 static void sig_handler(int signum) in sig_handler() argument
/linux/tools/laptop/freefall/
A Dfreefall.c100 static void ignore_me(int signum) in ignore_me() argument

Completed in 30 milliseconds

12