Home
last modified time | relevance | path

Searched refs:SIGALRM (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_010.cpp51 retSig = signal(SIGALRM, SigPrint1); in TestSigWait()
58 retValue = sigaddset(&set, SIGALRM); in TestSigWait()
84 retValue = kill(fpid, SIGALRM); in TestSigWait()
87 retValue = kill(fpid, SIGALRM); in TestSigWait()
94 signal(SIGALRM, SIG_DFL); in TestSigWait()
Dsignal_test_001.cpp142 signal(SIGALRM, SigPrint); in TestCase()
152 sigaddset(&sigmask, SIGALRM); in TestCase()
168 raise(SIGALRM); in TestCase()
171 if (sigismember(&pending, SIGALRM) != 1) { in TestCase()
175 printf("pending=%d,sigismem = %lu\n", pending.__bits[0], sigismember(&pending, SIGALRM)); in TestCase()
180 signal(SIGALRM, SIG_DFL); in TestCase()
Dsignal_test_005.cpp44 ret = signal(SIGALRM, SigPrint); in TestSigDefAction()
46 retValue = raise(SIGALRM); in TestSigDefAction()
49 retValue = raise(SIGALRM); in TestSigDefAction()
Dsignal_test_011.cpp48 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWait()
55 retValue = sigaddset(&set, SIGALRM); in TestSigTimeWait()
81 retValue = kill(fpid, SIGALRM); in TestSigTimeWait()
87 signal(SIGALRM, SIG_DFL); in TestSigTimeWait()
Dsignal_test_006.cpp45 ret = signal(SIGALRM, SigAlarm); in TestSigDefActionChild()
47 retValue = raise(SIGALRM); in TestSigDefActionChild()
53 retValue = raise(SIGALRM); in TestSigDefActionChild()
Dsignal_test_012.cpp44 signal(SIGALRM, SigAlarm); in TestSigTimeWaitMultiPthread()
54 retValue = sigaddset(&waitSet, SIGALRM); in TestSigTimeWaitMultiPthread()
65 if (receivedSignal != SIGALRM) { in TestSigTimeWaitMultiPthread()
Dsignal_test_019.cpp51 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitDirectKillChild()
57 retValue = sigaddset(&set, SIGALRM); in TestSigTimeWaitDirectKillChild()
89 signal(SIGALRM, SIG_DFL); in TestSigTimeWaitDirectKillChild()
Dsignal_test_018.cpp50 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitKillProcess()
57 retValue = sigaddset(&set, SIGALRM); in TestSigTimeWaitKillProcess()
92 signal(SIGALRM, SIG_DFL); in TestSigTimeWaitKillProcess()
Dsignal_test_016.cpp48 retValue = sigaddset(&set, SIGALRM); in ThreadSetFunc2()
66 retValue = sigaddset(&set, SIGALRM); in ThreadSetDfl()
114 retValue = sigaddset(&set, SIGALRM); in TestMultiPthreadKillPendNormal()
Dsignal_test_017.cpp48 retValue = sigaddset(&set, SIGALRM); in ThreadSetFunc2()
67 retValue = sigaddset(&set, SIGALRM); in ThreadSetDfl()
86 retValue = sigaddset(&set, SIGALRM); in ThreadKill()
Dsignal_test_025.cpp41 int sig = SIGALRM; in TestBlock()
47 sigset(SIGALRM, SigAlrm); in TestBlock()
Dsignal_test_020.cpp63 sigaction(SIGALRM, &act, nullptr); in TestSigSuspend()
69 retValue = sigaddset(&newset, SIGALRM); in TestSigSuspend()
147 retValue = raise(SIGALRM); in TestSigSuspend()
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsignal.c94 timer_handler(SIGALRM, NULL, &regs); in timer_real_alarm_handler()
119 timer_alarm_handler(SIGALRM, NULL, NULL); in deliver_alarm()
124 set_handler(SIGALRM); in timer_set_signal_handler()
158 [SIGALRM] = timer_alarm_handler,
218 sigaddset(&action.sa_mask, SIGALRM); in set_handler()
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIO_test_pselect_002.cpp60 retSig = signal(SIGALRM, SigPrint); in testcase()
69 retval = sigaddset(&mask, SIGALRM); in testcase()
103 retval = kill(pid, SIGALRM); in testcase()
DIO_test_epoll_002.cpp62 retSig = signal(SIGALRM, SigPrint); in testcase()
71 retval = sigaddset(&mask, SIGALRM); in testcase()
115 retval = kill(pid, SIGALRM); in testcase()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_013.cpp61 retSig = signal(SIGALRM, SigPrint2); in ThreadSetFunc2()
74 retSig = signal(SIGALRM, SIG_DFL); in ThreadSetDfl()
88 retValue = raise(SIGALRM); in ThreadKill()
Dsignal_test_024.cpp80 retValue = sigaction(SIGALRM, &oldAction, NULL); in TestSigaction()
88 retValue = raise(SIGALRM); in TestSigaction()
Dsignal_test_023.cpp41 int sig = SIGALRM; in TestKill()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c29 err = sigaction(SIGALRM, &sigalrm_action, NULL); in test_signal_pending_by_type()
42 signal(SIGALRM, SIG_DFL); in test_signal_pending_by_type()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst75 signal (SIGALRM, &sighandler);
85 sigaddset (&set, SIGALRM);
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c49 signal(SIGALRM, sigalrm_handler); in cpu_soak_usecs()
57 signal(SIGALRM, SIG_DFL); in cpu_soak_usecs()
Dcontext_switch.c184 signal(SIGALRM, sigalrm_handler); in pipe_thread1()
229 signal(SIGALRM, sigalrm_handler); in yield_thread1()
359 signal(SIGALRM, sigalrm_handler); in futex_thread1()
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dposix_timers.c103 signal(SIGALRM, sig_handler); in check_itimer()
161 signal(SIGALRM, sig_handler); in check_timer_create()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c390 if (signum != SIGALRM) in stop_handler()
410 signal(SIGALRM, stop_handler); in test_sk_storage_map_stress_free()
427 signal(SIGALRM, SIG_DFL); in test_sk_storage_map_stress_free()
444 signal(SIGALRM, stop_handler); in test_sk_storage_map_stress_change()
453 signal(SIGALRM, SIG_DFL); in test_sk_storage_map_stress_change()
/kernel/linux/linux-5.10/security/apparmor/include/
Dsig_names.h27 [SIGALRM] = 14,

1234