/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | signal_test_041.cpp | 51 sigset_t set, oldset; in ThreadFunc7() local 66 retval = sigemptyset(&oldset); in ThreadFunc7() 71 retval = sigprocmask(SIG_SETMASK, &set, &oldset); in ThreadFunc7() 75 retval = sigismember(&oldset, SIGTERM); in ThreadFunc7() 80 retval = sigismember(&oldset, SIGUSR1); in ThreadFunc7() 85 retval = sigismember(&oldset, SIGUSR2); in ThreadFunc7() 90 retval = sigprocmask(SIG_SETMASK, &oldset, &set); in ThreadFunc7() 100 retval = sigemptyset(&oldset); in ThreadFunc7() 104 retval = sigprocmask(SIG_SETMASK, &set, &oldset); in ThreadFunc7() 108 retval = sigismember(&oldset, SIGTERM); in ThreadFunc7() [all …]
|
D | signal_test_033.cpp | 53 sigset_t newset, oldset; in TestCase() local 64 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()
|
D | It_ipc_sigprocmask_001.cpp | 39 sigset_t set, oldset; in Testcase() local 47 retval = sigemptyset(&oldset); in Testcase() 55 retval = sigprocmask(SIG_BLOCK, &set, &oldset); in Testcase()
|
D | signal_test_040.cpp | 48 sigset_t newset, oldset; in TestCase() local
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_037.cpp | 37 sigset_t set, oldset; in TestCase() local 43 retval = sigemptyset(&oldset); in TestCase() 48 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()
|
D | signal_test_032.cpp | 47 sigset_t newset, oldset; in TestCase() local 56 ret = sigprocmask(SIG_BLOCK, &newset, &oldset); in TestCase()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | mmap.c | 36 sigset_t oldset; in ocfs2_fault() local 39 ocfs2_block_signals(&oldset); in ocfs2_fault() 41 ocfs2_unblock_signals(&oldset); in ocfs2_fault() 120 sigset_t oldset; in ocfs2_page_mkwrite() local 125 ocfs2_block_signals(&oldset); in ocfs2_page_mkwrite() 154 ocfs2_unblock_signals(&oldset); in ocfs2_page_mkwrite()
|
D | super.h | 33 void ocfs2_block_signals(sigset_t *oldset); 34 void ocfs2_unblock_signals(sigset_t *oldset);
|
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | user_copy_test_001.cpp | 39 sigset_t oldset; in Testcase() local 43 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()
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
D | signal.c | 51 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 87 err = setup_signal_stack_sc(sp, ksig, regs, oldset); in handle_signal() 90 err = setup_signal_stack_si(sp, ksig, regs, oldset); in handle_signal()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | signal_32.c | 226 sigset_t *oldset) in setup_frame() argument 275 err |= __put_user(oldset->sig[0], &sf->info.si_mask); in setup_frame() 276 err |= __copy_to_user(sf->extramask, &oldset->sig[1], in setup_frame() 321 sigset_t *oldset) in setup_rt_frame() argument 370 err |= __copy_to_user(&sf->mask, &oldset->sig[0], sizeof(sigset_t)); in setup_rt_frame() 420 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 424 err = setup_rt_frame(ksig, regs, oldset); in handle_signal() 426 err = setup_frame(ksig, regs, oldset); in handle_signal()
|
D | signal32.c | 352 sigset_t *oldset) in setup_frame32() argument 430 seta.sig[1] = (oldset->sig[0] >> 32); in setup_frame32() 431 seta.sig[0] = oldset->sig[0]; in setup_frame32() 487 sigset_t *oldset) in setup_rt_frame32() argument 567 err |= put_compat_sigset(&sf->mask, oldset, sizeof(compat_sigset_t)); in setup_rt_frame32() 625 sigset_t *oldset = sigmask_to_save(); in handle_signal32() local 629 err = setup_rt_frame32(ksig, regs, oldset); in handle_signal32() 631 err = setup_frame32(ksig, regs, oldset); in handle_signal32()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | signal.h | 16 extern int handle_signal32(struct ksignal *ksig, sigset_t *oldset, 19 extern int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset,
|
D | signal.c | 261 sigset_t *oldset = sigmask_to_save(); in do_signal() local 300 ret = handle_rt_signal32(&ksig, oldset, tsk); in do_signal() 302 ret = handle_signal32(&ksig, oldset, tsk); in do_signal() 304 ret = handle_rt_signal64(&ksig, oldset, tsk); in do_signal()
|
D | signal_32.c | 751 int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset, in handle_rt_signal32() argument 782 || put_sigset_t(&rt_sf->uc.uc_sigmask, oldset)) in handle_rt_signal32() 1213 int handle_signal32(struct ksignal *ksig, sigset_t *oldset, in handle_signal32() argument 1240 || __put_user(oldset->sig[0], &sc->oldmask) in handle_signal32() 1242 || __put_user((oldset->sig[0] >> 32), &sc->_unused[3]) in handle_signal32() 1244 || __put_user(oldset->sig[1], &sc->_unused[3]) in handle_signal32()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | signal.c | 439 static void handle_signal(struct ksignal *ksig, sigset_t *oldset, in handle_signal() argument 446 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal() 448 ret = setup_frame(ksig->sig, &ksig->ka, oldset, regs); in handle_signal() 465 sigset_t *oldset = sigmask_to_save(); in do_signal() local 503 handle_signal32(&ksig, oldset, regs); in do_signal() 505 handle_signal(&ksig, oldset, regs); in do_signal()
|
D | compat_signal.c | 415 void handle_signal32(struct ksignal *ksig, sigset_t *oldset, in handle_signal32() argument 422 ret = setup_rt_frame32(ksig, oldset, regs); in handle_signal32() 424 ret = setup_frame32(ksig, oldset, regs); in handle_signal32()
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | signal.c | 179 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 210 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
|
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
D | signal.c | 245 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 251 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | signal.c | 236 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 264 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | signal.c | 427 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 430 ksig->sig, ksig->ka, ksig->info, oldset, regs); in handle_signal() 433 ret = setup_rt_frame(ksig, oldset, regs, in_syscall); in handle_signal()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | signal_32.c | 435 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 440 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal() 442 ret = setup_frame(ksig, oldset, regs); in handle_signal()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | addr.c | 1472 static void ceph_block_sigs(sigset_t *oldset) in ceph_block_sigs() argument 1476 sigprocmask(SIG_BLOCK, &mask, oldset); in ceph_block_sigs() 1479 static void ceph_restore_sigs(sigset_t *oldset) in ceph_restore_sigs() argument 1481 sigprocmask(SIG_SETMASK, oldset, NULL); in ceph_restore_sigs() 1496 sigset_t oldset; in ceph_filemap_fault() local 1499 ceph_block_sigs(&oldset); in ceph_filemap_fault() 1569 ceph_restore_sigs(&oldset); in ceph_filemap_fault() 1591 sigset_t oldset; in ceph_page_mkwrite() local 1599 ceph_block_sigs(&oldset); in ceph_page_mkwrite() 1687 ceph_restore_sigs(&oldset); in ceph_page_mkwrite()
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
D | signal.c | 268 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 272 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | signal.c | 810 sigset_t *oldset = sigmask_to_save(); in handle_signal() local 821 ret = compat_setup_rt_frame(usig, ksig, oldset, regs); in handle_signal() 823 ret = compat_setup_frame(usig, ksig, oldset, regs); in handle_signal() 825 ret = setup_rt_frame(usig, ksig, oldset, regs); in handle_signal()
|