Home
last modified time | relevance | path

Searched refs:oldset (Results 1 – 25 of 38) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_041.cpp51 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 …]
Dsignal_test_033.cpp53 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()
DIt_ipc_sigprocmask_001.cpp39 sigset_t set, oldset; in Testcase() local
47 retval = sigemptyset(&oldset); in Testcase()
55 retval = sigprocmask(SIG_BLOCK, &set, &oldset); in Testcase()
Dsignal_test_040.cpp48 sigset_t newset, oldset; in TestCase() local
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_037.cpp37 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()
Dsignal_test_032.cpp47 sigset_t newset, oldset; in TestCase() local
56 ret = sigprocmask(SIG_BLOCK, &newset, &oldset); in TestCase()
/kernel/linux/linux-5.10/fs/ocfs2/
Dmmap.c36 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()
Dsuper.h33 void ocfs2_block_signals(sigset_t *oldset);
34 void ocfs2_unblock_signals(sigset_t *oldset);
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
Duser_copy_test_001.cpp39 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/
Dsignal.c51 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/
Dsignal_32.c226 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()
Dsignal32.c352 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/
Dsignal.h16 extern int handle_signal32(struct ksignal *ksig, sigset_t *oldset,
19 extern int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset,
Dsignal.c261 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()
Dsignal_32.c751 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/
Dsignal.c439 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()
Dcompat_signal.c415 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/
Dsignal.c179 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/
Dsignal.c245 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/
Dsignal.c236 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/
Dsignal.c427 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/
Dsignal_32.c435 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/
Daddr.c1472 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/
Dsignal.c268 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/
Dsignal.c810 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()

12