Home
last modified time | relevance | path

Searched refs:sigprocmask (Results 1 – 25 of 58) sorted by relevance

123

/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
Duser_copy_test_001.cpp43 ret = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(1), &oldset); in Testcase()
47 ret = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(INVALID_USER_VADDR), &oldset); in Testcase()
52 …ret = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(INVALID_USER_VADDR), reinterpret_cast<si… in Testcase()
56 ret = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(INVALID_USER_VADDR), in Testcase()
61 ret = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(INVALID_USER_VADDR), in Testcase()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_041.cpp71 retval = sigprocmask(SIG_SETMASK, &set, &oldset); in ThreadFunc7()
90 retval = sigprocmask(SIG_SETMASK, &oldset, &set); in ThreadFunc7()
104 retval = sigprocmask(SIG_SETMASK, &set, &oldset); in ThreadFunc7()
165 retval = sigprocmask(SIG_SETMASK, &set, &oldset); in TestCase()
201 retval = sigprocmask(SIG_SETMASK, &set, nullptr); in TestCase()
209 retval = sigprocmask(SIG_SETMASK, &oldset, &set); in TestCase()
Dsignal_test_033.cpp64 ret = sigprocmask(SIG_BLOCK, &newset, &oldset); in TestCase()
82 ret = sigprocmask(SIG_UNBLOCK, &newset, &oldset); in TestCase()
95 ret = sigprocmask(SIG_UNBLOCK, &newset, &oldset); in TestCase()
Dsignal_test_020.cpp73 retValue = sigprocmask(SIG_BLOCK, &newset, &old); in TestSigSuspend()
88 retValue = sigprocmask(SIG_BLOCK, &newset, &old); in TestSigSuspend()
104 retValue = sigprocmask(SIG_BLOCK, &newset, &old); in TestSigSuspend()
191 retValue = sigprocmask(SIG_BLOCK, &new1, &old1); in TestSigSuspend()
Dsignal_test_040.cpp51 sigprocmask(SIG_SETMASK, &newset, NULL); in TestCase()
73 sigprocmask(SIG_BLOCK, &set1, NULL); in TestCase()
Dsignal_test_015.cpp57 sigprocmask(SIG_SETMASK, &newset, nullptr); in TestPauseNormal()
59 sigprocmask(SIG_BLOCK, &newset, nullptr); in TestPauseNormal()
Dsignal_test_001.cpp75 retValue = sigprocmask(1, NULL, NULL); in TestCase()
154 sigprocmask(SIG_BLOCK, &sigmask, &oldmask); in TestCase()
DIt_ipc_sigprocmask_001.cpp55 retval = sigprocmask(SIG_BLOCK, &set, &oldset); in Testcase()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_037.cpp48 retval = sigprocmask(666, &set, &oldset); // 666, invalid param in TestCase()
52 retval = sigprocmask(SIG_BLOCK, reinterpret_cast<sigset_t *>(1), &oldset); in TestCase()
56 retval = sigprocmask(SIG_BLOCK, &set, &oldset); in TestCase()
Dsignal_test_032.cpp56 ret = sigprocmask(SIG_BLOCK, &newset, &oldset); in TestCase()
Dsignal_test_042.cpp68 sigprocmask(SIG_SETMASK, &set, NULL); in TestCase()
/kernel/liteos_a/kernel/base/ipc/
Dlos_signal.c185 masked = (bool)OsSigIsMember(&sigcb->sigprocmask, info->si_signo); in OsTcbDispatch()
208 rtcb->sig.sigprocmask = set; in OsSigMaskSwitch()
209 unmaskset = GETUNMASKSET(rtcb->sig.sigprocmask, rtcb->sig.sigPendFlag); in OsSigMaskSwitch()
228 *(sigset_t *)oldsetl = spcb->sig.sigprocmask; in OsSigprocMask()
239 spcb->sig.sigprocmask |= set; in OsSigprocMask()
245 spcb->sig.sigprocmask &= ~(set); in OsSigprocMask()
249 spcb->sig.sigprocmask = set; in OsSigprocMask()
256 OsSigMaskSwitch(spcb, spcb->sig.sigprocmask); in OsSigprocMask()
305 isMember = OsSigIsMember(&tcb->sig.sigprocmask, info->sigInfo->si_signo); in SigProcessSignalHandler()
637 oldSigprocmask = spcb->sig.sigprocmask; in OsPause()
/kernel/linux/linux-5.10/arch/arm/mach-u300/
Dregulator.c43 if (!sigprocmask(SIG_BLOCK, &all, &old)) { in u300_pm_poweroff()
49 (void) sigprocmask(SIG_SETMASK, &old, NULL); in u300_pm_poweroff()
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/
Dtimer_test_003.cpp57 ret = sigprocmask(SIG_BLOCK, &set, &oldSet); in SetTimerTest()
107 ret = sigprocmask(SIG_SETMASK, &oldSet, nullptr); in SetTimerTest()
Dtimer_test_004.cpp83 ret = sigprocmask(SIG_BLOCK, &mask, nullptr); in SigInfoTimerTest()
120 ret = sigprocmask(SIG_UNBLOCK, &mask, nullptr); in SigInfoTimerTest()
Dtimer_test_001.cpp72 ret = sigprocmask(SIG_BLOCK, &mask, nullptr); in TimerTest()
130 ret = sigprocmask(SIG_UNBLOCK, &mask, nullptr); in TimerTest()
/kernel/linux/linux-5.10/arch/um/drivers/
Dchan_user.c83 if (sigprocmask(SIG_BLOCK, &no_sigio, &old)) in generic_console_write()
107 sigprocmask(SIG_SETMASK, &old, NULL); in generic_console_write()
168 if (sigprocmask(SIG_SETMASK, &sigs, NULL) < 0) { in winch_thread()
/kernel/linux/linux-5.10/drivers/mfd/
Dab8500-sysctrl.c85 if (!sigprocmask(SIG_BLOCK, &all, &old)) { in ab8500_power_off()
89 (void)sigprocmask(SIG_SETMASK, &old, NULL); in ab8500_power_off()
/kernel/linux/linux-5.10/fs/jffs2/
Dbackground.c92 sigprocmask(SIG_UNBLOCK, &hupmask, NULL); in jffs2_garbage_collect_thread()
152 sigprocmask(SIG_BLOCK, &hupmask, NULL); in jffs2_garbage_collect_thread()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c115 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &segv_act.sa_mask) != 0); in test()
123 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &trap_act.sa_mask) != 0); in test()
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsignal.c233 if (sigprocmask(SIG_UNBLOCK, &sig_mask, NULL) < 0) in set_handler()
243 if (sigprocmask(on ? SIG_UNBLOCK : SIG_BLOCK, &sigset, NULL) < 0) in change_sig()
Dutil.c91 sigprocmask(SIG_UNBLOCK, &sig, 0); in uml_abort()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_064.cpp67 sigprocmask(SIG_BLOCK, &set, NULL); in Testcase()
/kernel/liteos_m/kal/posix/src/
Dsignal.c80 int sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() function
/kernel/liteos_a/kernel/base/include/
Dlos_signal.h143 sigset_t sigprocmask; /* Signals that are blocked */ member

123